[CentOS] Redirecting PHP error messages into a log file

Wed Jun 29 22:01:52 UTC 2011
Kai Schaetzl <maillists at conactive.com>

Alexander Farber wrote on Sat, 31 Jul 2010 00:47:05 +0200:

> First I tried adding that file name to /etc/php.ini:
> error_log = "/var/log/httpd/php_log"

I can assure you that you don't have to go the syslog way. Logging to a 
php errorlog file of your choice works just fine. Check the file 
permissions and check for selinux warnings.

Kai