php 5.2 in php4

santovito

Verified User
Joined
Nov 23, 2008
Messages
143
Hi at all,

I need to install php 5.2 and php 5.3 together. I read some guides on this forum, especially this: http://www.directadmin.com/forum/showthread.php?t=35175&mode=linear

in this guide php 5.3 was installed instead of php 6. Can I install php 5.3 in php4?

If I type this command is correct?
Code:
cd /usr/local/directadmin/custombuild
./build set custombuild 1.2
./build update
mkdir -p custom/suphp
cp -pf configure/suphp/configure.php5 custom/suphp/configure.php4
perl -pi -e 's/php53/phprep/' versions.txt
perl -pi -e 's/php4/php53/' versions.txt
perl -pi -e 's/phprep/php4/' versions.txt
./build set php4_cgi yes
./build php n
mv -f /usr/local/php4 /usr/local/php4_old
ln -s /usr/local/php5 /usr/local/php4
 
Back
Top