/ Published in: PHP
Just write this into a .htaccess
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
####### PHP DEBUGGING RULES ####### # supress display of php errors, Below three lines will disable the PHP error reporting to user php_flag display_startup_errors off php_flag display_errors off php_flag html_errors off # enable verbose PHP error logging to a file, Below three lines will log the all PHP error, warning and notices in log files at the path specified. php_flag log_errors on php_value error_reporting 2047 ####### END PHP DEBUGGING RULES #######