{"id":3055,"date":"2012-03-20T15:38:54","date_gmt":"2012-03-20T13:38:54","guid":{"rendered":"http:\/\/localhost\/helpcentre\/?p=3055"},"modified":"2026-01-05T16:22:29","modified_gmt":"2026-01-05T14:22:29","slug":"how-do-i-enable-php-error-logging","status":"publish","type":"post","link":"https:\/\/xneelo.co.za\/help-centre\/website\/managing-website\/php\/how-do-i-enable-php-error-logging\/","title":{"rendered":"How to enable PHP error logging"},"content":{"rendered":"<p>If you require <b>error logging<\/b> to be enabled for your PHP based website, you will need to enable it within a .user.ini file on your domain. This is useful when troubleshooting 500 internal server errors and blank pages displayed in the browser.<\/p>\n<p>The steps below will explain how to enable PHP error logging within a <strong>.user.ini<\/strong> file.<\/p>\n","protected":false,"plain":"If you require <b>error logging<\/b> to be enabled for your PHP based website, you will need to enable it within a .user.ini file on your domain. This is useful when troubleshooting 500 internal server errors and blank pages displayed in the browser.\r\n\r\nThe steps below will explain how to enable PHP error logging within a <strong>.user.ini<\/strong> file."},"excerpt":{"rendered":"<p>If you require error logging to be enabled for your PHP based website, you will need to enable it within a .user.ini file on your domain. <\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"lsx_disable_title":"0","_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","footnotes":""},"categories":[179,170,166],"tags":[24168,24156],"topics":[19481],"class_list":["post-3055","post","type-post","status-publish","format-standard","hentry","category-php","category-troubleshooting-website","category-website","tag-enable-error-logging","tag-php-error-logging","topics-php-upgrade"],"acf":[],"additional_meta":{"category_title":[{"term_id":179,"name":"PHP","slug":"php","term_group":0,"term_taxonomy_id":179,"taxonomy":"category","description":"Allowing you to create dynamic content that interacts with databases","parent":168,"count":20,"filter":"raw","term_order":"97","cat_ID":179,"category_count":20,"category_description":"Allowing you to create dynamic content that interacts with databases","cat_name":"PHP","category_nicename":"php","category_parent":168},{"term_id":170,"name":"Troubleshooting Website problems","slug":"troubleshooting-website","term_group":0,"term_taxonomy_id":170,"taxonomy":"category","description":"Solving website problems","parent":166,"count":13,"filter":"raw","term_order":"105","cat_ID":170,"category_count":13,"category_description":"Solving website problems","cat_name":"Troubleshooting Website problems","category_nicename":"troubleshooting-website","category_parent":166},{"term_id":166,"name":"Website","slug":"website","term_group":0,"term_taxonomy_id":166,"taxonomy":"category","description":"About your Website(s)","parent":0,"count":169,"filter":"raw","term_order":"120","cat_ID":166,"category_count":169,"category_description":"About your Website(s)","cat_name":"Website","category_nicename":"website","category_parent":0}],"tag_title":[{"term_id":24168,"name":"enable error logging","slug":"enable-error-logging","term_group":0,"term_taxonomy_id":24168,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw","term_order":"93"},{"term_id":24156,"name":"PHP error logging","slug":"php-error-logging","term_group":0,"term_taxonomy_id":24156,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw","term_order":"97"}]},"featured_image_src":null,"author_info":{"display_name":"marketing","author_link":"https:\/\/xneelo.co.za\/help-centre\/author\/marketing\/","author_avatar":"https:\/\/secure.gravatar.com\/avatar\/a6ea315e112423b2b955cb020fbce2b0835956c6ad85ff0f13f1db298977eaaa?s=96&d=mm&r=g"},"_links":{"self":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts\/3055","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/comments?post=3055"}],"version-history":[{"count":0,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts\/3055\/revisions"}],"wp:attachment":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/media?parent=3055"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/categories?post=3055"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/tags?post=3055"},{"taxonomy":"topics","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/topics?post=3055"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}