Upgrade php version from 5.2 to 5.3 in Directadmin
Follow the steps below in order to upgrade your Server’s PHP from version 5.2 to 5.3 on DirectAdmin platform.
Ssh to the server as root user.
Enter following commands:
---------
d /usr/local/DirectAdmin/custombuild
./build set php5_ver 5.3
./build update
./build php n
services httpd restart
--------
Once it’s done, you can check the upgrade by using below command:
php -v