Saturday, May 8, 2010

php_error_log

Error log is the file contains the listing of errors that occured on our PHP server.By default, PHP error logging is turned off. If you need to have a PHP error log, your can turn PHP error logging on, and they will write to your /logs/php_error_log. Disk space used by the php_error_log IS COUNTED toward your total disk usage, so you should leave php error logging turned off if you do not need it.
By default your php.ini file contains:
        log_errors = Off
You cans Change this value to
        log_errors = On
It will write the error details in to the errorlog file located in /logs/php_error_log.

For all accounts created after August 31, 2002, php_error_log is turned Off by default.