The Blog

.htaccess for PHP errors Posted on

DirectoryIndex index.html index.htm index.php

# PHP error handling for development servers
php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
php_flag log_errors on
php_flag ignore_repeated_errors off
php_flag ignore_repeated_source off
php_flag report_memleaks on
php_flag track_errors on
php_value docref_root 0
php_value docref_ext 0
php_value error_log /var/www/vhosts/twang.com/httpdocs/PHP_errors.log
php_value error_reporting 999999999
php_value log_errors_max_len 0

<Files /var/www/vhosts/twang.com/httpdocs/PHP_errors.log>
 Order allow,deny
 Deny from all
 Satisfy All
</Files>

This entry was posted in Uncategorized. Bookmark the permalink.

Please Post Your Comments & Reviews

Your email address will not be published. Required fields are marked *



CAPTCHA
Change the CAPTCHA codeSpeak the CAPTCHA code