502 Bad Gateway php7 code=exited, status=254

General discussion forum for the Zend Server
Post Reply
Posts: 1
Joined: Thu Mar 14, 2019 2:32 am

502 Bad Gateway php7 code=exited, status=254

Post by arunki » Thu Mar 14, 2019 2:40 am


Really i don't know if i am in the right place to ask.

My site is giving me a 502 Bad Gateway nginx error. When i give a

Code: Select all

 systemctl status php7.0-fpm.service
it responds:

Code: Select all

 php7.0-fpm.service - The PHP 7.0 FastCGI Process Manager
   Loaded: loaded (/lib/systemd/system/php7.0-fpm.service; enabled; vendor preset: enabled)
   Active: [color=#FF0000]failed [/color](Result: exit-code) since Thu 2019-03-14 00:33:33 UTC; 17s ago
  Process: 10821 ExecStart=/usr/sbin/php-fpm7.0 --nodaemonize --fpm-config /etc/php/7.0/fpm/php-fpm.conf ([color=#FF0000]code=exited, status=254[/color])
  Process: 10812 ExecStartPre=/usr/lib/php/php7.0-fpm-checkconf (code=exited, status=0/SUCCESS)
 Main PID: 10821 (code=exited, status=254)
Where do i start to fix it? Someone to give a hand?

User avatar
Posts: 285
Joined: Thu Jan 22, 2009 3:16 pm

Re: 502 Bad Gateway php7 code=exited, status=254

Post by zend_eyalt » Sun Mar 24, 2019 10:06 am

hi - seems to me you should post this issue on some general php / nginx forum - nothing here seem to suggest any relevance to Zend Server - thanks !

Post Reply