Update php 5.3 cgi (installed as php 6 ) to 5.5

abibib

New member
Joined
Jul 1, 2015
Messages
2
Hello

I have used this solution to run php 5.2 and 5.3 together

You CAN have PHP 5.2 and 5.3 on the system. This trick will work with CustomBuild 1.2 (PHP5.2 as CLI and 5.3 as CGI (suPHP)):
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.php6
perl -pi -e 's/php53/phprep/' versions.txt
perl -pi -e 's/php6/php53/' versions.txt
perl -pi -e 's/phprep/php6/' versions.txt
./build set php5_ver 5.2
./build set php6_cgi yes
./build set php5_cgi no
./build set php5_cli yes
#set php6-cgi (or cli) to yes in the options.conf
./build php n
mv -f /usr/local/php6 /usr/local/php6_old
ln -s /usr/local/php5 /usr/local/php6
Now PHP 5.3 will be installed as PHP6 in configuration files :)


Now I want to update my php 5.3 to 5.5 .
I have set php6 version to 5.5 and tried to update by these commands

Code:
./build php6_ver 5.5
./build versions

but the system replies that :
PHP6 (CGI) 5.3.28 to 6.0.0-dev update is available.


and when I use ./build update , php-6.0.0-dev.tar.gz will be downloaded.

How can I update my php 5.3 (that is installed as php 6 in configuration custombuild 1.2) to php 5.5 ?

thanks
 
Back
Top