[Bug 1014044] Re: PHP5-FPM not reporting errors to web server (nginx)
Thomas Ward
teward at trekweb.org
Wed Aug 8 13:27:40 UTC 2012
** Description changed:
[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>
+
+ * [Other Info]
+
+ * The debdiff contains a fix also for LP Bug 1006738. As that bug is hard to create a test-case for, discussions with Clint Byrum on IRC made a note that for *that* bugfix, it would be a no-test-case bugfix.
+ * This bug was not initially tagged with the 'regression' tag. however, it is a regression in Precise from Oneiric.
+
+ -- 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:
+
+ 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.
** Tags removed: cgi error logging nginx
--
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]
* [Other Info]
* The debdiff contains a fix also for LP Bug 1006738. As that bug is hard to create a test-case for, discussions with Clint Byrum on IRC made a note that for *that* bugfix, it would be a no-test-case bugfix.
* This bug was not initially tagged with the 'regression' tag. however, it is a regression in Precise from Oneiric.
-- 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