Return to Snippet

Revision: 45712
at May 5, 2011 19:58 by soup


Initial Code
####### 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
php_value error_log  /home/domain.com/php.error.log
####### END PHP DEBUGGING RULES #######

Initial URL

                                

Initial Description
Just write this into a .htaccess

Initial Title
php errors on in htaccess

Initial Tags
php, htaccess

Initial Language
PHP