hi, on command line, when I type: php or 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