This tutorial will help you to enable PHP errors to display on the web browser. This is helpful for debugging purpose.

Advertisement

First of all, enable display_errors parameter in your php.ini configuration file.

display_errors = on

Then, add the following code to your the application PHP script. For example, add this code to your index.php or other default load script.

Here is a sample index.php with enabled error to display on browser.

Enable PHP Errors

Share.

1 Comment

Leave A Reply


Exit mobile version