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 ioncube_loader_lin_5.3.so 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/ioncube_loader_lin_5.3.so" // replace it with correct path
# /etc/init.d/httpd restart

Comments

2 responses to “Upgrade php to 5.3 – directadmin”

  1. Brijesh Kothari Avatar
    Brijesh Kothari

    You can also delete the following file :
    /usr/local/directadmin/plugins/softaculous/admin/index.raw
    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

    1. Arun N S Avatar

      @a073701fa6e8fcf0135f69361adfae7b:disqus Thanks, will check it out.

Leave a Reply

Your email address will not be published. Required fields are marked *