Welcome! Log In Create A New Profile

Advanced

PHP with FPM on Gentoo

Silvio Siefke
April 02, 2012 06:14PM
Hello,

i try run Nginx with PHP-FPM under Gentoo. Under my FreeBSD Rootserver
it run without any problems but under Gentoo want not run.

nginx.conf > http://nopaste.info/72a40e9c5e.html
php-fpm.conf > http://nopaste.info/94a9de62d5.html
emerge --info php nginx > http://nopaste.info/225b12e106.html

The last change in config is:

server {
listen 80 default;
server_name localhost;
access_log /var/log/nginx/localhost.access_log main;
error_log /var/log/nginx/localhost.error_log debug;
root /var/www/localhost/htdocs;
location ~ (.*)\.php$ {
include fastcgi.conf;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /var/www/localhost/htdocs$fastcgi_script_name;
}
}

The last Logs which i has:

<acces_log>
192.168.0.20 - - [02/Apr/2012:17:59:05 +0200] "GET / HTTP/1.1" 200 633 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.142 Safari/535.19" "-"
192.168.0.20 - - [02/Apr/2012:17:59:05 +0200] "GET /favicon.ico HTTP/1.1" 200 1650 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.142 Safari/535.19" "-"
192.168.0.20 - - [02/Apr/2012:17:59:21 +0200] "GET /info.php HTTP/1.1" 200 289 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.142 Safari/535.19" "0.47"
192.168.0.20 - - [02/Apr/2012:17:59:24 +0200] "-" 400 0 "-" "-" "-"
</acces_log>

<error_log>
2012/04/02 17:59:24 [info] 21288#0: *4 client closed prematurely connection while reading client request line, client: 192.168.0.20, server: localhost
</error_log>

I really not understand where is my mistake. Has someone a idea?


Regards
Silvio

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

PHP with FPM on Gentoo

Silvio Siefke April 02, 2012 06:14PM

Re: PHP with FPM on Gentoo

locojohn April 03, 2012 04:02AM

Re: PHP with FPM on Gentoo

Silvio Siefke April 03, 2012 06:48AM

Re: PHP with FPM on Gentoo

Rainer Duffner April 03, 2012 06:58AM

Re: PHP with FPM on Gentoo

locojohn April 03, 2012 06:59AM

Re: PHP with FPM on Gentoo

Silvio Siefke April 03, 2012 07:02AM

Re: PHP with FPM on Gentoo

Silvio Siefke April 03, 2012 05:40PM

Re: PHP with FPM on Gentoo

Silvio Siefke April 04, 2012 05:46AM

Re: PHP with FPM on Gentoo

locojohn April 04, 2012 07:46AM

Re: PHP with FPM on Gentoo

Silvio Siefke April 04, 2012 04:22PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 140
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready