SuSe10 perfect setup with php5 down-rev to php4 quick and dirty.
haha as usual I overthink everything, All that is needed is below. Ignore the crap in the first thread of this post.
to down rev the suse 10.0 perfect install to use php4 instead of php5 the following worked for me. Note this was a clean system with only a couple of empty web sites and test emails users. Your mileage my vary.
Might not be needed but I shut down apache and made sure it was off during the entire process until I was ready to test.
shutdown apache /etc/init.d/apache2 stop
use yast and remove everything concerned with php
(reboot = probally not needed but I did it anyway. )
use yast and grab the apache2 php4 mod
use yast to resolve any dependencies by loading any addional ph4 modules needed.
checked the vhosts file (which had the php and php4 stuff in it already.
just for reference:
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
check log - clean !!!!!!!!
point browse at the test file (see the how-to)
PHP Version 4.4.0
Server API Apache 2.0 Handler
apps might require additional php4 modules just keep an eye on your logs if something does not work.
Last edited by wwparrish; 13th February 2006 at 03:10.