HostOnNet Blog

Installing ioncube loader on CentOS

Download latest Ioncube loader for your OS from

http://www.ioncube.com/loaders.php

For CentOS 64 bit

cd /usr/local/src
wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
tar zxvf ioncube_loaders_lin_x86-64.tar.gz
cd  ioncube
mkdir /usr/local/ioncube
cp ioncube_loader_lin_5.2.so /usr/local/ioncube

I coped ioncube_loader_lin_5.2.so as PHP version installed on the server was PHP 5.2

Now edit php.ini file. To find location of php.ini, run

php -i| grep php.ini

In my case, php.ini was in /etc/php.ini folder

Add following line to end on php.ini

zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so

Posted in PHP

  • Kimpe Andy

    there is much that simple to install ioncube loader on centos 6

    yum -y install https://www6.atomicorp.com/channels/atomic/centos/6/i386/RPMS/atomic-release-1.0-16.el6.art.noarch.rpm

    yum -y install php-ioncube-loader

  • Ergec

    @Kimpe Andy your way did work. Thanks man! 😉

  • Jose

    Hi:

    More easy:

    Install….

    # wget -q -O – http://www.atomicorp.com/installers/atomic |sh

    # yum install php-ioncube-loader

    Restart apache after ioncube installation…..

    #service httpd restart

    checking….

    # php -v

    Regards

    Jose

  • C0D3R

    @ Kimpe Andy

    Worked perfect on centos 6

    Thanks

  • Om Bissa

    Thanks worked for me 🙂

  • Stefan

    @Kimpe and Jose, and ofc whoever created this post, thank you so much. I am totally noob and IonCube is my lifetime enemy, lost so much time to set it up, and finally i did it.

    Tnx again guys