httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nilesh Govindarajan <nil...@itech7.com>
Subject Re: [users@httpd] Apache2, Fastcgi and PHP
Date Wed, 02 Feb 2011 17:19:42 GMT
On 02/02/2011 10:28 PM, Silvio Siefke wrote:
> Hello,
> 
> 
> Am 02.02.2011 17:26, schrieb Nilesh Govindarajan:
>> Quite a weird question, have you checked the firewall?
>> Try if it works without the firewall.
>> I don't think a firewall would ever be configured to block localhost
>> connections (its absurd!), but still.
> 
> I have no firewall active on the system. I make a new install on the
> system. Other say me, he make the same and it run direct.
> 
> cd /usr/ports/www/mod_fastcgi && make install clean
> cd /usr/ports/www/spawn_fcgi && make install clean
> service spawn-fcgi onestart
> 
> LoadModule fastcgi_module libexec/apache22/mod_fastcgi.so
> AddHandler php5-fastcgi .php
> FastCgiExternalServer /usr/local/www/apache22/data -host localhost:9000
> 
> That is the way. By a member in a forum goes well, by me not. That is
> really strange.
> 
> 
> Regards
> Silvio
> 

You're using localhost:9000 in FastCgiExternalServer, try with 127.0.0.1
Probably apache has problems resolving localhost, though it should not be.

-- 
Regards,
Nilesh Govindarajan
Facebook: http://www.facebook.com/nilesh.gr
Twitter: http://twitter.com/_linuxgeek_
Website: http://www.itech7.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message