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
In Reply to: Re: Re[2]: [gentoo-user] Nginx with PHP-FPM by Silvio Siefke

Thursday, April 5, 2012, 2:11:55 AM, you wrote:

S> thanks i have compile php and nginx with ur flags. But the result is same.
S> Nginx like not PHP. The website is blank. Not give out phpinfo();

If you have compiled nginx and php with these flags, things should work,
if you tell both components how to communicate with each other.

What is the output of 

     curl -I http://localhost/info.php

and of

     curl http://localhost/info.php

assuming that you still have the file info.php that showed up in the logs
quoted in your original post.

       ps ax | grep nginx
       ps ax | grep php-fpm
       netstat -lpnt | grep ":80"
       netstat -lpnt | grep ":9000"

S> I dont know what should do now, when self the original sourcecode want not
S> run, thats not normal. 

Calm down, wind some watch, and start to think about which points are accessible
for debugging this conundrum.