[Bug 512167] [NEW] apache overriding php's error_log setting

Daniel Convissor launchpad029 at analysis.users.panix.com
Mon Jan 25 02:42:23 GMT 2010

Public bug reported:

Binary package hint: apache2

# less /etc/php5/php.ini
log_errors = true
error_log = /var/log/php_errors.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/php_errors.log

The error isn't in there.

# less /var/log/apache2/error.log

Huh.  The PHP error is in there.  That's not how it's supposed to work.

Running Apache 2.2.12.

** Affects: apache2 (Ubuntu)
     Importance: Undecided
         Status: New

apache overriding php's error_log setting
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.

More information about the Ubuntu-server-bugs mailing list