1 |
On Monday 02 April 2012 14:17:47 Silvio Siefke wrote: |
2 |
> Hello, |
3 |
> |
4 |
> On Mon, 02 Apr 2012 11:01:46 +0200 |
5 |
> |
6 |
> Michael Schreckenbauer <grimlog@×××.de> wrote: |
7 |
> > I'm not really an expert with ngingx and php-fpm, but afaict the error is |
8 |
> > in the location line in nginx.conf. |
9 |
> > You have: |
10 |
> > location ~ .php$ { |
11 |
> > ... |
12 |
> > Afaik this only matches the exact file ".php" |
13 |
> > |
14 |
> > Try changing it to |
15 |
> > location ~ ^(.*)\.php$ { |
16 |
> > ... |
17 |
> > This would match all files ending in ".php" |
18 |
> |
19 |
> thanks for advice. But nothing happen the result is same like before. |
20 |
> Blank website, no phpinfo output. |
21 |
> |
22 |
> In logs stand only "closed keepalive connection, can it be that something |
23 |
> in php-fpm.conf not correct is set? |
24 |
|
25 |
to get more info from nginx, try to increase the log level, eg |
26 |
error_log /var/log/nginx/error_log debug; |
27 |
php-fpm.conf looks correct to me. |
28 |
You include fastcgi.conf. Could you post the contents? |
29 |
|
30 |
> Regards |
31 |
> Silvio |
32 |
|
33 |
Best, |
34 |
Michael |