S
S
Stepan2014-09-24 10:36:25
PHP
Stepan, 2014-09-24 10:36:25

How to set nginx server settings correctly?

I'm moving the site to a new server. I ran into a problem that when I turn on PHP as an Apache module, it gives a 502 error, and when CGI does not execute a php file, how to make settings so that php is executed during CGI?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2014-09-24
Protko @Fesor

Google nginx + php-fpm

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question