Comment 0 for bug 1014044

Revision history for this message
ks07 (gfield145) wrote : PHP5-FPM not reporting errors to web server (nginx)

Since updating Ubuntu to 12.04, the included php version contains a bug that causes errors to not be sent upstream to the web server. This error is a regression from the version supplied with Ubuntu 11.10 (5.3.6-13ubuntu3.7 0).

Using php5-fpm version: 5.3.10-1ubuntu3.1

This bug has been reported and patched upstream, but has not yet been included in a release:
https://bugs.php.net/bug.php?id=61045

This bug makes running php5 in fastcgi mode on Ubuntu very problematic, as errors are never reported to the nginx error.log, which impedes debugging. This can be worked around by enabling an independent error log in php.ini, but it would be much simpler for new users if this worked out of the box.