Re: php 5.2 as cgi not working in debian 6.0
On Thu, 3 Nov 2011 17:37:32 +0000 (UTC)
Camaleón <firstname.lastname@example.org> wrote:
> On Thu, 03 Nov 2011 15:19:02 +0530, J. Bakshi wrote:
> > On Wed, 2 Nov 2011 16:02:12 +0000 (UTC) Camaleón <email@example.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
Ok, so I have now
` ` `
ScriptAlias /php5-cgi /usr/lib/cgi-bin/php52/php5-cgi/
Action application/x-httpd-php5 /php5-cgi/php52.fcgi
` ` ` `
> But I hope your apache configuration file contains more data than that,
> > restarted apache... but no success :-(
> Have you also checked the permissions of the involved files and folders?
Yes, the user:group is according to the apache as in debian i.e.
still no luck yet !!!