Knowledgebase

Portal Home > Knowledgebase > Articles Database > [HELP] nginx+PHP "502 Bad Gateway"


[HELP] nginx+PHP "502 Bad Gateway"




Posted by n4is3n, 07-03-2010, 11:21 PM
Dear All i install nginx+PHP as FastCGI but i still cannot open php file. Google chrome just download it (.php) to my PC, not open it as a web. And in other web browser it just shown "502 Bad Gateway". But .html file is okay... how to fix this? please help... sorry for my bad English. thanks before. Best Regards

Posted by net, 07-03-2010, 11:24 PM
Moved > Hosting Security and Technology.

Posted by techstar, 07-04-2010, 01:21 AM
I`m not very familiar with Nginx, but it sounds like PHP has not been compiled in properly. Please recompile.

Posted by aroel, 07-04-2010, 01:27 AM
did you configure it correct? check your fcgi config

Posted by RJohnson23, 07-04-2010, 02:34 AM
Check to make sure PHP is running and that it is listening on the port that nginx is forwarding the requests to.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Sent E-mail Errors (Views: 555)


Language:

Contact us