So apparently i can't download the patch from here. I'll upload it later. The link to the patch is here though, for 5.3 (which is in Precise):
https://bugs.php.net/patch- display.php?bug_id=61045&patch=bug61045-5.3.patch&revision=latest ** Description changed: [TESTCASE] - * Cause PHP to throw an error, which would return a 403, 500, etc. Any + * 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. + 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 + 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> + * 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. -- 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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs