PHP

ID #208

Where is the php_error_log?

Applies to: Grid System

You can find the PHP error log via ftp or ssh at /logs/php_error_log. PHP error logging is turned on by default in all new accounts. Although, disk space used by the php_error_log is counted toward your total disk usage, it generally does not takeup enough space to make a difference. If you are concerned about disk overage or have been generating lots of PHP errors, you may turn PHP error logging off and free space by removing the existing logs.

You can turn PHP error logging on or off in two ways:

  1. By editting your php.ini file and changing:
    log_errors = On
    to
    log_errors = Off

  2. By using your OnSite PHP Configurator, unchecking "Log errors" and then clicking the "Save Changes" button

Last update: 2011-07-07 17:40
Author: FAQ Admin
Revision: 1.3

Digg it! Share on Facebook Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 0 (0 Votes)

completely useless 1 2 3 4 5 most valuable

You can comment this FAQ