Re: php 5.2 as cgi not working in debian 6.0
On Thu, 03 Nov 2011 15:19:02 +0530, J. Bakshi wrote:
> On Wed, 2 Nov 2011 16:02:12 +0000 (UTC) Camaleón <noelamac@gmail.com>
> wrote:
>> > and at /etc/apache/php52.conf
>> ^^^^^^^^^^^^^^^^^^^^^^
>>
>> Is that path/file right? :-?
>
> urghh... sorry for the typo mistake. It should be
> /etc/apache2/php52.conf and it is already there at
> /etc/apache2/apache2.conf file as per the right path.
Okay :-)
(...)
>> And look if the filename extesion (.fgci) is a must for this setup,
>> maybe the web server is expecting such mimetype to be properly
>> processed :-?
>>
>> (...)
>>
> Ok.. then let me change it
>
> /usr/lib/cgi-bin/php52/php5.fcgi
>
> and the /etc/apache2/php52.conf looks like
>
> ScriptAlias /cgi-bin /usr/lib/cgi-bin/php52/php5-cgi/
> Action application/x-httpd-php5 /cgi-bin/php52/php5-cgi/php52.fcgi
It should be:
***
ScriptAlias /php5-cgi /usr/lib/cgi-bin/php52/php5-cgi/
Action application/x-httpd-php5 /php5-cgi.cfgi
***
But I hope your apache configuration file contains more data than that,
right?
> restarted apache... but no success :-(
Have you also checked the permissions of the involved files and folders?
Greetings,
--
Camaleón
Reply to: