Answer the question
In order to leave comments, you need to log in
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question