PHP Error Log

I need to look at a Linux server’s PHP error log, is this something that
needs to be enabled first? Is it usually located in “/var/log”?


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

This is part of Apache or Apache2, whichever you have, and the Apache
error_log will include all the PHP errors. There usually isn’t a
separate log for PHP errors. So look in var/log/httpd or similar for a
file named error_log. There may also be “rotated” logfiles near it in
the same folder. Those will have numerical or date suffixes to
indicate which version they are. The one without any decoration is
usually the one you want, unless the errors are older.

Walter

On Jul 6, 2011, at 11:45 AM, Todd wrote:

I need to look at a Linux server’s PHP error log, is this something
that needs to be enabled first? Is it usually located in “/var/log”?


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options