The other day I needed to install ionCube Loader for encrypted PHP code to run on a CentOS Linux server but was initially unable to find a repository that included the php-ioncube-loader RPM package. After a couple minutes I remembered that I had previously used the Atomic repo to install PHP Zend Optimizer and so I thought I would check that repository to see if an ioncube RPM package was available as well. Below I display the search for a repository that includes an ionCube Loader RPM package along with installing the package on a CentOS Linux server.
Install Atomic Yum Repository On CentOS Linux:
[[email protected]]# wget -q -O - http://www.atomicorp.com/installers/atomic |sh
Now that the Atomic repository is installed on your Linux server you can move forward with installing the PHP ionCube Loader package by using the syntax below. It is likely that there will be some other PHP dependencies installed along with the php-ioncube-loader RPM package so don’t be alarmed if multiple packages are installed at the same time.
Install PHP ionCube Loader On A CentOS Linux Server:
[[email protected]]# yum install php-ioncube-loader
Notice that in my scenario PHP was also upgraded so be careful if you do not want to upgrade PHP during the process of installing the php-ioncube-loader RPM package.