Gentoo Archives: gentoo-user

From: "siefke_listen@×××.de" <siefke_listen@×××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Nginx with PHP-FPM
Date: Mon, 02 Apr 2012 02:28:31
Message-Id: 20120402042647.5d40f8db.siefke_listen@web.de
1 Hello,
2
3 I try my web hosting environment to mirror locally. On my Rootserver run Nginx
4 with PHP-FPM under FreeBSD. So i has installed Nginx, PHP and Mysql here local
5 on Gentoo. But something is not correct, it want not really run. I has search
6 in web and use the config for Nginx on Gentoo (is other as on FreeBSD) but
7 nothing happen. The website (info.php) is blank and in logs i find not the way
8 which is my mistake.
9
10 nginx.conf > http://nopaste.info/72a40e9c5e.html
11 php-fpm.conf > http://nopaste.info/94a9de62d5.html
12 emerge --info php nginx > http://nopaste.info/225b12e106.html
13
14
15 <error_log>
16 2012/04/02 04:23:05 [notice] 3636#0: using the "epoll" event method
17 2012/04/02 04:23:05 [notice] 3636#0: nginx/1.0.14
18 2012/04/02 04:23:05 [notice] 3636#0: OS: Linux 3.3.0
19 2012/04/02 04:23:05 [notice] 3636#0: getrlimit(RLIMIT_NOFILE): 1024:4096
20 2012/04/02 04:23:05 [notice] 3637#0: start worker processes
21 2012/04/02 04:23:05 [notice] 3637#0: start worker process 3640
22 </error_log>
23
24 <localhost.access_log>
25 127.0.0.1 - - [02/Apr/2012:04:23:11 +0200] "GET /favicon.ico HTTP/1.1" 404 348 "-" "-" "-"
26 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" "-"
27 127.0.0.1 - - [02/Apr/2012:04:23:11 +0200] "GET /favicon.ico HTTP/1.1" 404 348 "-" "-" "-"
28 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"
29 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"
30 127.0.0.1 - - [02/Apr/2012:04:23:17 +0200] "GET /favicon.ico HTTP/1.1" 404 348 "-" "-" "-"
31 127.0.0.1 - - [02/Apr/2012:04:23:17 +0200] "GET /favicon.ico HTTP/1.1" 404 348 "-" "-" "-"
32 </localhost.access_log>
33
34 <localhost.error_log>
35 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"
36 2012/04/02 04:23:11 [info] 3640#0: *1 client 127.0.0.1 closed keepalive connection
37 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/"
38 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"
39 2012/04/02 04:23:11 [info] 3640#0: *3 client 127.0.0.1 closed keepalive connection
40 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"
41 2012/04/02 04:23:17 [info] 3640#0: *8 client 127.0.0.1 closed keepalive connection
42 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"
43 2012/04/02 04:23:17 [info] 3640#0: *9 client 127.0.0.1 closed keepalive connection
44 </localhost.error_log>
45
46
47 Has someone a idea where is the mistake. Thank u for help.
48
49 Regards
50 Silvio

Replies

Subject Author
Re: [gentoo-user] Nginx with PHP-FPM Michael Schreckenbauer <grimlog@×××.de>
Re: [gentoo-user] Nginx with PHP-FPM Silvio Siefke <siefke_listen@×××.de>
Re: [gentoo-user] Nginx with PHP-FPM Silvio Siefke <siefke_listen@×××.de>
Re: [gentoo-user] Nginx with PHP-FPM Silvio Siefke <siefke_listen@×××.de>
Re: [gentoo-user] Nginx with PHP-FPM Silvio Siefke <siefke_listen@×××.de>
Re: [gentoo-user] Nginx with PHP-FPM Silvio Siefke <siefke_listen@×××.de>