View Single Post
  #6  
Old 7th May 2007, 21:18
octopus octopus is offline
Junior Member
 
Join Date: Apr 2007
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default I have reinstall debian again

Oke I have done it again the perfect debian setup version 4.
The only thing what is different that is I installed php4-cgi white php5


Everything is working perfect if I do test in


When I execute in the browser the my IP/info.php (/var/www/info.php its php5)
When I execute in the browser the my IP/info.php4 (/var/www/info.php4 its php4)


The only thing I have not change yet is in /etc/mime.types yet

#application/x-httpd-php phtml pht php
#application/x-httpd-php-source phps
#application/x-httpd-php3 php3
#application/x-httpd-php3-preprocessed php3p#application/x-httpd-php4



And the /etc/apache2/mods-enabled/php5.conf is not changed yet

<IfModule mod_php5.c>
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps
</IfModule>

Only there is /etc/apache/conf.d/php4.conf must a change this to white the # ?

<IfModule mod_php4.c>
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps
</IfModule>

And in the /etc/apache2.conf I put this but must this stay soo when I install ispconfig?

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


but when i install ispconfig its not working

Last edited by octopus; 7th May 2007 at 21:22.
Reply With Quote