Displaying 1 result from an estimated 1 matches for "odnoklassniki".
2010 Jul 30
3
Redirecting PHP error messages into a log file
...le 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 I get the messages in /var/log/messages:
Jul 29 21:29:24 hXXX httpd: PHP Notice:
Undefined index: REMOTE_ADDR in
/var/www/html/odnoklassniki/index.php on line 44
Jul 29 21:29:45 hXXX httpd: PHP Parse error:
syntax error, unexpected '[' in
/var/www/html/odnoklassniki/index.php on line 44
I still would like to move those message to a separate file
though, so I've added the following line to /etc/syslog.conf
and reloaded s...