502 Bad Gateway once running php on command line

marcusy3k nginx-forum at forum.nginx.org
Wed Mar 23 06:35:49 UTC 2016

hi, on command line, when I type:  php


php -v

after pressing [Enter] key, then the "502 Bad Gateway" will occur at once.

It is very strange, because I always think php command line should not
affect the php-fpm...

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,265576,265578#msg-265578

More information about the nginx mailing list