[Bug 1014044] Re: PHP5-FPM not reporting errors to web server (nginx)
Launchpad Bug Tracker
1014044 at bugs.launchpad.net
Mon Aug 6 04:03:39 UTC 2012
** Branch linked: lp:ubuntu/php5
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1014044
Title:
PHP5-FPM not reporting errors to web server (nginx)
Status in PHP: Hypertext Preprocessor:
Unknown
Status in “php5” package in Ubuntu:
Fix Released
Status in “php5” source package in Precise:
In Progress
Status in “php5” package in Debian:
Fix Released
Bug description:
[TESTCASE]
* Cause PHP to throw an error, which would return a 403, 500, etc.
Any PHP error or warning should return a message to nginx or webserver
error logs. This does not occur, as intended, and was fixed upstream.
[Regression Potential]
* The upstream patch (attached later in the bug) fixes this, and is a
targetted patch to resolve this issue. This patch was included in
5.4.x which was in Debian, and synced to Ubuntu Quantal.
* Regression potential from this is very low, given it is a highly
specific patch.
[Other Info]
* I fully plan to attach the upstream bug to here. I also plan on
making the debdiff later today after i get to a place where i have
internet, as my packaging system is not able to connect to the
internet from work. -- Thomas Ward <trekcaptainusa-tw>
------
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/php/+bug/1014044/+subscriptions
More information about the Ubuntu-sponsors
mailing list