apache overriding php's error_log setting
Bug #512167 reported by
Daniel Convissor
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
Binary package hint: apache2
# less /etc/php5/php.ini
log_errors = true
error_log = /var/log/
# apache2ctl restart
View phpinfo() output, showing the log_errors and error_log settings are in place.
Create a PHP script that calls a bogus function then point a web browser at it.
# less /var/log/
The error isn't in there.
# less /var/log/
Huh. The PHP error is in there. That's not how it's supposed to work.
Running Apache 2.2.12.
To post a comment you must log in.
Ok before we go any further we need the following:
- Which version of php are you using?
- Are you using php as a cgi or using mod_php?
Thanks
chuck