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 15:05:24 GMT
On 02/02/2011 08:23 PM, Silvio Siefke wrote:
> Hello,
> 
> i try since 2 days to run Apache with FastCGI and PHP. I have try other
> configuration, FCGI with PHP, the same. The apache want not use PHP over
> CGI.
> 
> Before i use a configuration with suPHP and PHP-CGI without any
> Problems. Only that this like not some CMS which want try. So i must
> change the configuration.
> 
> 
<snip>

Well, I don't recall exactly, I used something like this:

ScriptAlias /cgi-bin/ /usr/local/apache2/cgi-bin/
AddHandler php-fcgi .php
Action php-fcgi /cgi-bin/php-cgi
<FilesMatch "\.php$">
 Options +ExecCGI
</FilesMatch>

Just let me know if it works.

-- 
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