Re: Apache2, Fastcgi and PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux