Upgrade php from 5.3 to 5.4

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,325
Location
LT, EU
What is the CustomBuild version installed on the system?

Code:
/usr/local/directadmin/custombuild/build | grep Version | awk '{print $3}'
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,325
Location
LT, EU
You should execute the following commands then to upgrade your PHP version:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build set php5_ver 5.4
./build php n
That's it :)
 

bernhard

Verified User
Joined
Nov 19, 2012
Messages
31
Location
Oldebroek, The Netherlands
You should execute the following commands then to upgrade your PHP version:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build set php5_ver 5.4
./build php n
That's it :)
Thanks! At the moment, mysql 5.5.27 has been installed, should I upgrade that to a higher version too? Or any other packet?
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,325
Location
LT, EU
MySQL 5.5 is okay. You would still have a chance to upgrade it to 5.6 in the future without any problems.
 

bernhard

Verified User
Joined
Nov 19, 2012
Messages
31
Location
Oldebroek, The Netherlands
thanks smtalk! great help. now I first need my development and testserver upgraded to 5.4 so I can make sure all my software functions on 5.4. And then I'll try the steps you wrote abough. The upgrade is planned on may 11th at 1am so it'll be a while. But I'll let you know if it worked.
 
Top