Archive for the ‘php’ Category

disable error_reporting in php script.
error_reporting(0); -> at the beginning of the script. or can be made also from .htaccess:
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
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 php_errors.log
php_value error_reporting 999999999
php_value log_errors_max_len 0

<Files php_errors.log>
Order allow,deny
Deny from all
Satisfy All