ispCP - Board - Support
Little problem with php4/5 - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: Little problem with php4/5 (/thread-4067.html)



Little problem with php4/5 - thid - 08-20-2008 01:47 AM

I was trying to setup diffrent php version for each catalog in one domain. I have edited /etc/apache2/mods-*/fastcgi_ispcp.conf
Code:
AddHandler php-fastcgi .php5
<Location /php5/php5-fcgi-starter>
   SetHandler fastcgi-script
   Options +ExecCGI
</Location>
Action php-fastcgi /php5/php5-fastcgi-starter
AddType application/x-httpd-php5 .php5
I added this to fastcgi_ispcp.conf.
So basicly when I use in .htaccess
Code:
AddType application/x-httpd-php5 .php
The server should use php5 for parasing php in the catalog. The problem is that server use php5 for all script in domain

Anyone have ideas what is wrong with this?


RE: Little problem with php4/5 - thid - 08-20-2008 08:58 PM

another thing...I was thinking about setting this in /etc/apache2/ispcp/ but there's no effect, same as with .htaccess


RE: Little problem with php4/5 - momo - 11-04-2008 04:52 PM

Hello Thid,

I have same problem.
On build 2008 08 06 (I think)
If I add new user, php.ini for domain is created, but I confirm It doesn't works anymore with regeneration.

On a testing debian, with latest night 11 04,
if I restore a ispcp database to it it will create domain directory and php directory without php.ini
With 2008 08 06 build, it could not create missing phpX directory upon regeneration.

Can't tell you more.


RE: Little problem with php4/5 - gOOvER - 11-04-2008 08:07 PM

With RC6 php4 is not longer supported.


RE: Little problem with php4/5 - momo - 11-05-2008 05:43 AM

Which is nice.

My last post is wrong,
Everything is fine with latest build. Will test on production server soon.