502 bad gateway error with php5-fpm on Debian 7

GASPARD Kévin list-reader at koshie.fr
Thu Feb 21 11:12:15 UTC 2013


Le Thu, 21 Feb 2013 11:26:57 +0100, Wolfsrudel <nginx-forum at nginx.us> a  
écrit:

> Can you please do a `grep 'fastcgi_pass ' /etc/nginx/*/*` and post the
> output? Maybe there are other configuration files with a fefault
> 'fastcgi_pass' which overwrites your vhost.

With a sudo grep -R 'fastcgi_pass ' /etc/nginx/*/* I have exactly what you  
tell and I know that, but I don't know if it can create a conflict.

I'm using the new fastcgi_pass value for 3 of my vhost now: fastcgi_pass  
unix:/var/run/php5-fpm.sock;

But older (worked on CentOS) has for now fastcgi_pass 127.0.0.1:9000;

I've see that too:

/etc/nginx/sites-available/default:	#	fastcgi_pass 127.0.0.1:9000;
/etc/nginx/sites-available/default:	#	fastcgi_pass  
unix:/var/run/php5-fpm.sock;
/etc/nginx/sites-enabled/default:	#	fastcgi_pass 127.0.0.1:9000;
/etc/nginx/sites-enabled/default:	#	fastcgi_pass  
unix:/var/run/php5-fpm.sock;

I never touched them in my whole Nginx life.

Cordially, Koshie

-- 
Sorry for my english, I'm trying the best in each e-mail writing. Tell me  
if I'm not clear enough.
This mail account is only for list reading, to contact me send an e-mail  
at kevingaspard at koshie.fr



More information about the nginx mailing list