DirectAdmin Linux

Upgrade php to 5.3 – directadmin

# cd /usr/local/directadmin/custombuild
# ./build set php5_ver 5.3
# ./build update
# ./build php n
# /etc/init.d/httpd restart

This may break your softaculous, if it cannot load the correct ioncube.

Site error: the file /usr/local/directadmin/plugins/softaculous/images/inc.php requires the ionCube PHP Loader to be installed by the site administrator.

Edit your php.ini to fix it

# vi /usr/local/directadmin/plugins/softaculous/php.ini
zend_extension = "/usr/local/ioncube/" // replace it with correct path
# /etc/init.d/httpd restart

2 replies on “Upgrade php to 5.3 – directadmin”

You can also delete the following file :
and then execute the following CRON command :
Root> /usr/local/bin/php -d open_basedir=/ -d safe_mode=0 -d disable_functions=”” /usr/local/directadmin/plugins/softaculous/cron.php

Leave a Reply

Your email address will not be published.