Gentoo Archives: gentoo-user

From: Silvio Siefke <siefke_listen@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Nginx with PHP-FPM
Date: Mon, 02 Apr 2012 12:18:37
Message-Id: 20120402141747.3951d124.siefke_listen@web.de
In Reply to: Re: [gentoo-user] Nginx with PHP-FPM by Michael Schreckenbauer
1 Hello,
2
3 On Mon, 02 Apr 2012 11:01:46 +0200
4 Michael Schreckenbauer <grimlog@×××.de> wrote:
5
6 > I'm not really an expert with ngingx and php-fpm, but afaict the error is in
7 > the location line in nginx.conf.
8 > You have:
9 > location ~ .php$ {
10 > ...
11 > Afaik this only matches the exact file ".php"
12 >
13 > Try changing it to
14 > location ~ ^(.*)\.php$ {
15 > ...
16 > This would match all files ending in ".php"
17
18 thanks for advice. But nothing happen the result is same like before.
19 Blank website, no phpinfo output.
20
21 In logs stand only "closed keepalive connection, can it be that something
22 in php-fpm.conf not correct is set?
23
24
25 Regards
26 Silvio

Replies

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