junrillg
11/17/2014 - 12:31 PM

HTACCESS: Error Logging

HTACCESS: Error Logging

#You can also enable error logging from the .htaccess file. The fi rst step is to create a php-errors
#.log file in your WordPress root directory. Then add the following code to your .htaccess file to
#enable error logging:

php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
php_flag log_errors on
php_value error_log /public_html/php-errors.log