[Bug 1014044] Re: PHP5-FPM not reporting errors to web server (nginx)

Thomas Ward teward at trekweb.org
Tue Jul 31 17:58:59 UTC 2012


Assigned this to myself, as I will generate a debdiff for this so it can
be SRU'd.

** 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, within the next 20
+ minutes after the description change.  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.

** Changed in: php5 (Ubuntu Precise)
       Status: Triaged => In Progress

** Changed in: php5 (Ubuntu Precise)
     Assignee: (unassigned) => Thomas Ward (trekcaptainusa-tw)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1014044

Title:
  PHP5-FPM not reporting errors to web server (nginx)

To manage notifications about this bug go to:
https://bugs.launchpad.net/php/+bug/1014044/+subscriptions



More information about the Ubuntu-server-bugs mailing list