Displaying 1 result from an estimated 1 matches for "php_log".
Did you mean:
hplog
2010 Jul 30
3
Redirecting PHP error messages into a log file
Hello,
I'm using CentOS release 5.5 x86_64 with the stock php-5.1.6-27.el5
and would like to redirect PHP messages into /var/log/httpd/php_log
First I tried adding that file name to /etc/php.ini:
error_log = "/var/log/httpd/php_log"
and restarted httpd, but the file didn't appear.
I've touched it and changed owner to apache.apache,
but that didn't help.
Then I've changed that line to error_log = syslog
and now...