I get 502 Bad Gateway from Nginx in a line of PHP code that works fine elsewhere in my program ( $this->provider = new OAuthProvider(); ), and it worked fine before. This is the message I get in the Nginx error log for every 502:
recv () failed (104: Connection reset on a peer) while reading the response header upstream
There is a warning for every 502 in the PHP-FPM log:
[WARNING] [pool www] child 17427 exited SIGSEGV signal 11 after 142070.657176 seconds from the start
After a few changes to nginx.conf, I'm stuck and really appreciate any pointers on what to do next.
I am running Nginx 0.7.67 and PHP 5.3.2 on Ubuntu 10.04.
php nginx
Andreas Sep 01 '10 at 8:22 2010-09-01 08:22
source share