Gentoo Archives: gentoo-user

From: Stefan Schmiedl <s@×××.de>
To: Silvio Siefke <siefke_listen@×××.de>
Cc: gentoo-user@l.g.o
Subject: Re[4]: [gentoo-user] Nginx with PHP-FPM
Date: Thu, 05 Apr 2012 12:59:54
Message-Id: 1798497371.20120405145822@xss.de
In Reply to: Re: Re[2]: [gentoo-user] Nginx with PHP-FPM by Silvio Siefke
1 Silvio,
2
3 Thursday, April 5, 2012, 2:11:55 AM, you wrote:
4
5 S> thanks i have compile php and nginx with ur flags. But the result is same.
6 S> Nginx like not PHP. The website is blank. Not give out phpinfo();
7
8 If you have compiled nginx and php with these flags, things should work,
9 if you tell both components how to communicate with each other.
10
11 What is the output of
12
13 curl -I http://localhost/info.php
14
15 and of
16
17 curl http://localhost/info.php
18
19 assuming that you still have the file info.php that showed up in the logs
20 quoted in your original post.
21
22 Also:
23 ps ax | grep nginx
24 ps ax | grep php-fpm
25 netstat -lpnt | grep ":80"
26 netstat -lpnt | grep ":9000"
27
28 S> I dont know what should do now, when self the original sourcecode want not
29 S> run, thats not normal.
30
31 Calm down, wind some watch, and start to think about which points are accessible
32 for debugging this conundrum.
33
34 s.