How do I enable the displaying of PHP errors messages?
Print Email
Email this article
Close
Email this article
CloseYou are here: Home > Website Support > PHP
If you require PHP error messages to be displayed in the web browser then you will need to enable the PHP flag called, ‘display_errors’.
This can be done by adding the following entry into your .htaccess file, which will need to be placed in your public_html location on the server:
php_flag display_errors on
Note: The above is not recommended for a production environment and should remain off, if it is not explicitly required.
More information on the PHP flag, display_errors, can be found in the following URL: http://www.php.net/manual/
Was this information helpful?
Yes NoThank you for your feedback
We are delighted to find that our article resolved your query.
Thank you for your feedback
We will resolve your query as soon as possible.
Please take a few moments to comment on your unresolved query. Simply tell us what your problem is. We guarantee that we'll get back to you within two hours (during office hours) in response to your query.
