php exits with 502 Bad Gateway

Edho Arief edho at myconan.net
Mon Feb 20 01:31:41 UTC 2012


Hello

On Mon, Feb 20, 2012 at 3:37 AM, mfouwaaz <nginx-forum at nginx.us> wrote:
> Thanks for the reply and I am trying to do that.  But how?  Do I
> download php again and re-install it?  Where can I find the replacement
> file?  If you can walk me through the process, it will be greatly
> appreciated.
>

Seems like your php-cgi got closed at one point which is why
restarting nginx didn't help.

Try running php-cgi with php-fpm/supervisord/god/monit. There are lots
of tutorial on web for it.

-- 
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org



More information about the nginx mailing list