A
A
Alex2015-04-05 18:06:29
PHP
Alex, 2015-04-05 18:06:29

Nginx 502, where to look for the problem?

Good evening.
Updated PHP from 5.2 to 5.6.7 today.
After that, nginx started to give a 502 error
. The logs are clean, there are no errors.
/var/log/nginx/error.log
/var/log/php-fmp.log
When accessing site.com/test. php , we get 502. Stupidly in the phpinfo file
When accessing site.com/test. html - everything is fine
www.conf

user = www-data
group = www-data
listen = /var/run/php5-fpm.sock ;Файл создается

listen.owner = www-data
listen.group = www-data
listen.mode = 0660

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
n1mda, 2015-04-05
@sensus

You missed the line that asked to replace www.conf
check it, look for the line ending in .sock or port 9000

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question