Re: No error output?
| From: | Marcus Bointon | Date: | Thu, 03 Nov 2005 09:03:01 +0000 |
| Subject: | Re: No error output? | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19899@lists.php.net to get a copy of this message | ||
I'm still having trouble with PHP 5.1.0RC4 giving no error output at all, either to browser or to logs. In my php.ini I have:
error_reporting = E_ALL
display_errors = On
display_startup_errors = On
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
track_errors = Off
html_errors = On
error_log = "/var/log/httpd/php_errors" (which exists and has same ownership and permissions as other httpd logs which are working)
and I've also tried not setting error_log and having it set to syslog.
in my httpd.conf (apache 2.0.54-12 from Fink) I have:
ErrorLog "/private/var/log/httpd/error_log"
LogLevel info
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
CustomLog "/private/var/log/httpd/access_log" combined
(On OS X, /var is a pointer to /private/var). I really can't see anything wrong with these settings and I can't think how else error output could be blocked. If I run scripts from CLI, I do get errors displayed in the terminal, but it's not much use for testing web stuff.
I'm getting the same behaviour on both OS X and RHEL4.
Are there any configure options that relate to error output?
Marcus
--
Marcus Bointon
Synchromedia Limited: Putting you in the picture
marcus@synchromedia.co.uk | http://www.synchromedia.co.uk