Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-user
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-user@g.o
From: "siefke_listen@..." <siefke_listen@...>
Subject: Nginx with PHP-FPM
Date: Mon, 2 Apr 2012 04:26:47 +0200
Hello,

I try my web hosting environment to mirror locally. On my Rootserver run Nginx
with PHP-FPM under FreeBSD. So i has installed Nginx, PHP and Mysql here local 
on Gentoo. But something is not correct, it want not really run. I has search 
in web and use the config for Nginx on Gentoo (is other as on FreeBSD) but 
nothing happen. The website (info.php) is blank and in logs i find not the way
which is my mistake. 

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


<error_log>
2012/04/02 04:23:05 [notice] 3636#0: using the "epoll" event method
2012/04/02 04:23:05 [notice] 3636#0: nginx/1.0.14
2012/04/02 04:23:05 [notice] 3636#0: OS: Linux 3.3.0
2012/04/02 04:23:05 [notice] 3636#0: getrlimit(RLIMIT_NOFILE): 1024:4096
2012/04/02 04:23:05 [notice] 3637#0: start worker processes
2012/04/02 04:23:05 [notice] 3637#0: start worker process 3640
</error_log>

<localhost.access_log>
127.0.0.1 - - [02/Apr/2012:04:23:11 +0200] "GET /favicon.ico HTTP/1.1" 404 348 "-" "-" "-"
127.0.0.1 - - [02/Apr/2012:04:23:11 +0200] "GET /favicon.ico HTTP/1.1" 404 319 "http://localhost/" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; de-de) AppleWebKit/535+ (KHTML, like Gecko) Version/5.0 Safari/535.4+ Midori/0.4" "-"
127.0.0.1 - - [02/Apr/2012:04:23:11 +0200] "GET /favicon.ico HTTP/1.1" 404 348 "-" "-" "-"
127.0.0.1 - - [02/Apr/2012:04:23:17 +0200] "GET /info.php HTTP/1.1" 200 260 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; de-de) AppleWebKit/535+ (KHTML, like Gecko) Version/5.0 Safari/535.4+ Midori/0.4" "0.47"
127.0.0.1 - - [02/Apr/2012:04:23:17 +0200] "GET /info.php HTTP/1.1" 200 260 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; de-de) AppleWebKit/535+ (KHTML, like Gecko) Version/5.0 Safari/535.4+ Midori/0.4" "0.47"
127.0.0.1 - - [02/Apr/2012:04:23:17 +0200] "GET /favicon.ico HTTP/1.1" 404 348 "-" "-" "-"
127.0.0.1 - - [02/Apr/2012:04:23:17 +0200] "GET /favicon.ico HTTP/1.1" 404 348 "-" "-" "-"
</localhost.access_log>

<localhost.error_log>
2012/04/02 04:23:11 [error] 3640#0: *1 open() "/var/www/localhost/htdocs/favicon.ico" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "localhost"
2012/04/02 04:23:11 [info] 3640#0: *1 client 127.0.0.1 closed keepalive connection
2012/04/02 04:23:11 [error] 3640#0: *2 open() "/var/www/localhost/htdocs/favicon.ico" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "localhost", referrer: "http://localhost/"
2012/04/02 04:23:11 [error] 3640#0: *3 open() "/var/www/localhost/htdocs/favicon.ico" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "localhost"
2012/04/02 04:23:11 [info] 3640#0: *3 client 127.0.0.1 closed keepalive connection
2012/04/02 04:23:17 [error] 3640#0: *8 open() "/var/www/localhost/htdocs/favicon.ico" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "localhost"
2012/04/02 04:23:17 [info] 3640#0: *8 client 127.0.0.1 closed keepalive connection
2012/04/02 04:23:17 [error] 3640#0: *9 open() "/var/www/localhost/htdocs/favicon.ico" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "localhost"
2012/04/02 04:23:17 [info] 3640#0: *9 client 127.0.0.1 closed keepalive connection
</localhost.error_log>


Has someone a idea where is the mistake. Thank u for help.

Regards
Silvio


Replies:
Re: Nginx with PHP-FPM
-- Silvio Siefke
Re: Nginx with PHP-FPM
-- Silvio Siefke
Re: Nginx with PHP-FPM
-- Silvio Siefke
Re: Nginx with PHP-FPM
-- Silvio Siefke
Re: Nginx with PHP-FPM
-- Silvio Siefke
Re: Nginx with PHP-FPM
-- Michael Schreckenbauer
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
emacs - problem rendering pdf files
Next by thread:
Re: Nginx with PHP-FPM
Previous by date:
Re: emacs - problem rendering pdf files
Next by date:
Re: Tips for saving power needed...


Updated May 04, 2012

Summary: Archive of the gentoo-user mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.