Search Our Database
How to upgrade php version from 5.2 to 5.3 on DirectAdmin platform
Following is the instructions to upgrade your Dedicated Server’s PHP from version 5.2 to 5.3 on DirectAdmin platform:
Step 1: ssh to the server
Step 2: Enter the following commands:
# cd /usr/local/DirectAdmin/custombuild
# ./build set php5_ver 5.3
# ./build update
# ./build php n
# service httpd restart
Once it’s done, you can check the upgrade by using below command:
# php -v
The example result return will be “PHP 5.3.13 (cli) (built: Jun 12 2012 19:37:45)”