Welcome! Log In Create A New Profile

Advanced

php-fpm on different IP

Posted by ybdragon 
php-fpm on different IP
January 05, 2011 03:19AM
Hi

I use nginx 0.7.65. I'd like to to use the new php 5.3.4 with php-fpm. I install the php-fpm on a different server then where the nginx running. I set the nginx conf


location ~* \.php$ {
if (!-f $request_filename) {
return 404;
}

fastcgi_pass 10.0.101.9:9000;

}

And it is not working. php-fpm don't get the request and in the browser I see 404, but not nginx 404 error page just don't get anything. Nothing in the log files. php-fpm logs are empty and nginx error logs are empty too. In the access.log I see the request.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 309
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready