View Single Post
  #7  
Old 2nd April 2006, 22:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by M.Behrens
Hello!

My Server is installed with SUSE 9.3 Prof.

I have some questions to this HowTo.

First I stop the Apache with /etc/init.d/apache2 stop
Then I go in the Yast2 --> Software --> install or delete software --> search
Now I search for php
Then I delete "apache2_mode_php5" (Is that right?) and "PHP5" as soon as "PHP5-..." (That are 50 packages) (Is that right?)
Now I reboot the Server.
Then I go in the Yast2 --> Software --> install or delete software --> search
Now I search for php and install "apache2_mode_php4", "PHP4" and "PHP4..." (That are only 43 packages) (Is that right?)
I need the following packages "mod_php4-..." (3 packages)????????
Than I start the Apache.
If you want to replace PHP5 with PHP4, it should work like this.

Quote:
Originally Posted by M.Behrens
Why are then still the following entries in the vHost (php5 is deleted or not, I which wrongly understood?)?

...
...
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias /cgi-bin/ /var/www/web5/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
AddHandler php-script .php4
AddType application/x-httpd-php .php .php3 .php4 .php5
Action php-script /cgi-bin/php4
ErrorLog /var/www/web5/log/error.log
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>

...
...

Thanks for the assistance!
These entries mean the files with the extension .php5 are interpreted by the current PHP version. This is ok. If you have PHP4 installed, then files with the extension .php5 would also be interpreted by PHP4.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote