LEMP stack help

I used the lemp stack but I'm having problems getting PHP to function correctly. I get 502 errors when i try to load any php file. Does anyone know a remedy for this problem.

1 Reply

502 means bad gateway, which means your web server can't contact whatever is running PHP (I assume you're running spawn fcgi?).

Make sure your php process is running and you've set up the proxy properly.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct