I just don't know why i got a 502 error. Please help. you can visit here http://upliu.net/phpinfo.php phpinfo.php just has one line code: phpinfo(); but i got a 502 bad gateway error someone can help ? thanks Here are my configure files:
I use ubuntu server 12.04.3
php 5.5.7 with fpm
Hello, I am very cleared that php-fpm service is running and nginx just works fine. I write a test code which only contains one line 'echo "hello";', it can run perfectly, but after i added a new line 'phpinfo();' , i got a 502 bad gateway error , i don't know why, anyone can help me ?