Article "Showing PHP errors"

Please note that Error reporting for php scripts is enabled on all servers. For the security reasons the errors are not shown as the part of webpage output (this is the default that we use). You can see the errors in your log files.

If for some reason you want to show the errors as a part of webpage output, you can do so by adding following flag to .htaccess file.

code

php_flag display_startup_errors off
php_flag display_errors on
php_flag html_errors on
php_value docref_root 0
php_value docref_ext 0

far2

 


Resources attached:

Rating: Rate this article:

See also:

Comments (0)