View Single Post
Old 8th May 2007, 09:38
till till is online now
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,995
Thanks: 840
Thanked 5,649 Times in 4,459 Posts

1) Comment out the addtype lines in the php5.conf file and the php4.conf file.

And in the /etc/apache2.conf I put this but must this stay soo when I install ispconfig?
No, please comment this out.

3a) If you want to enable php5 in a website, enable the php checkbox in ISPConfig for this website.

3b) If you want to enable php4 for the website, make sure that the php checkbox and the cgi checkbox are not enabled. Then add the following lines in the aoache directives field:

AddHandler php-script .php
Action php-script /cgi-bin/php4

Now all files ending with .php are executed by php4 and not php5.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from
Reply With Quote