How to Install ionCube Loader to RunCloud Server

What is ionCube Loader

ionCube Loader is a php modules to load php files that have been encoded with ionCube Encoder. Without this loader, the PHP files can’t be serve by php.

Installing ionCube Loader

Since RunCloud comes with multiple PHP version, you need to install ionCube in your choosen PHP. If your website only use php7.0, you can install ionCube Loader only inside php7.0 or every php version that you want.

Login to your server as root and run the command below

Download & Extract

cd
wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
tar -zxvf ioncube_loaders_lin_x86-64.tar.gz

PHP5.5

cp ioncube/ioncube_loader_lin_5.5.so /RunCloud/Packages/php55rc/lib/php/extensions/no-debug-non-zts-20121212/
echo "zend_extension=ioncube_loader_lin_5.5.so" > /etc/php55rc/conf.d/ioncube.ini
systemctl restart php55rc-fpm

PHP5.6

cp ioncube/ioncube_loader_lin_5.6.so /RunCloud/Packages/php56rc/lib/php/extensions/no-debug-non-zts-20131226/
echo "zend_extension=ioncube_loader_lin_5.6.so" > /etc/php56rc/conf.d/ioncube.ini
systemctl restart php56rc-fpm

PHP7.0

cp ioncube/ioncube_loader_lin_7.0.so /RunCloud/Packages/php70rc/lib/php/extensions/no-debug-non-zts-20151012/
echo "zend_extension=ioncube_loader_lin_7.0.so" > /etc/php70rc/conf.d/ioncube.ini
systemctl restart php70rc-fpm

PHP7.1

ionCube doesn’t support php7.1 yet

Checking ionCube Installation

PHP5.5

/RunCloud/Packages/php55rc/bin/php -m | grep -i ioncube

PHP5.6

/RunCloud/Packages/php56rc/bin/php -m | grep -i ioncube

PHP7.0

/RunCloud/Packages/php70rc/bin/php -m | grep -i ioncube

If your installation is success, you will see the output as follows

ionCube Loader
the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured)

Removing ionCube Loader

PHP5.5

rm /etc/php55rc/conf.d/ioncube.ini
systemctl restart php55rc-fpm

PHP5.6

rm /etc/php56rc/conf.d/ioncube.ini
systemctl restart php56rc-fpm

PHP7.0

rm /etc/php70rc/conf.d/ioncube.ini
systemctl restart php70rc-fpm
Share This On
Share on facebook
Share on twitter
Share on linkedin
Share on reddit

9 thoughts on “How to Install ionCube Loader to RunCloud Server”

  1. IonCube supports 7.1 & 7.2. Run the following as root to install it:

    7.1

    cp ioncube/ioncube_loader_lin_7.1.so /RunCloud/Packages/php71rc/lib/php/extensions/no-debug-non-zts-20160303/
    echo “zend_extension=ioncube_loader_lin_7.1.so” > /etc/php71rc/conf.d/ioncube.ini
    systemctl restart php71rc-fpm

    7.2

    cp ioncube/ioncube_loader_lin_7.2.so /RunCloud/Packages/php72rc/lib/php/extensions/no-debug-non-zts-20170718/
    echo “zend_extension=ioncube_loader_lin_7.2.so” > /etc/php72rc/conf.d/ioncube.ini
    systemctl restart php72rc-fpm

    1. Hey, the code doesn’t working for me.

      Checked with this command:
      /RunCloud/Packages/php71rc/bin/php -m | grep -i ioncube

      And nothing happen.

  2. Can you please try this

    wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz

    tar -zxvf ioncube_loaders_lin_x86-64.tar.gz

    cp ioncube/ioncube_loader_lin_7.2.so /RunCloud/Packages/php72rc/lib/php/extensions/no-debug-non-zts-20170718/

    echo “zend_extension=ioncube_loader_lin_7.2.so” > /etc/php72rc/conf.d/ioncube.ini

    systemctl restart php72rc-fpm

    /RunCloud/Packages/php72rc/bin/php -m | grep -i ioncube

    @Makis Thank you ….[Makis code has small mistake ] @Larry replace [ “ ] to [ ” ]

Leave a Comment

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

You May Also Like