Hi all, a couple of days work to configure my server, I mean to install those required to host a site on it. The problem that I am facing is, after I managed to install nginx php5… I deal with this error:
502 Bad Gateway
nginx/1.8.1
I read on many sites to remove a comment, sorry it will ask what it means to remove a comment, as I don’t know.
Thanks!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
It is possible that the php5-fpm service that nginx requires to process php scripts is not running, this will result in a 502 error. You can attempt to restart this with the command:
When a tutorial or guide says to “uncomment” a line it usually means that the configuration line has a character at the beginning of it which causes it to be seen as a comment and not a setting to use. Often this will be the
#
character.