Install ionCube Loader Using The Atomic Yum Repository On CentOS Linux

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.

At first I logged into another server that already had the Atomic yum repository already installed to search for an ioncube package as displayed below. I accomplished the below with minimal output to verify the Atomic repo provided the php-ioncube-loader package by having all repositories disabled except for the atomic repository.

Search Atomic Repository For ionCube Loader RPM Package:

[root@dev ~]# yum whatprovides *ioncube*
Loading "allowdowngrade" plugin
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
 * atomic: www4.atomicorp.com
filelists.xml.gz          100% |=========================| 263 kB    00:00
php-ioncube-loader.i386 : PHP Ioncube Loader
php-ioncube-loader.i386 : PHP Ioncube Loader
psa-atmail.noarch : The @mail webmail adopted for Plesk
psa-atmail.noarch : The @mail webmail adopted for Plesk
psa-atmail.noarch : The @mail webmail adopted for Plesk
psa-atmail.noarch : The @mail webmail adopted for Plesk

After verifying that the Atomic repo does include the php-ioncube-loader RPM package I needed to install the Atomic repository on the new server. You can install Atomic on CentOS or other Linux systems using the Yum Package Manager by using the below syntax.

Install Atomic Yum Repository On CentOS Linux:

[root@dev2 src]# wget -q -O - http://www.atomicorp.com/installers/atomic |sh

Atomic Archive installer, version 1.1
Configuring the [atomic] yum archive for this system

Installing the Atomic GPG key: OK
Downloading atomic-release-1.0-11.el5.art.noarch.rpm: OK

The Atomic Rocket Turtle archive has now been installed and configured for your system
The following channels are available:
  atomic          - [ACTIVATED] - contains the stable tree of ART packages
  atomic-testing  - [DISABLED]  - contains the testing tree of ART packages
  atomic-bleeding - [DISABLED]  - contains the development tree of ART packages

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:

[root@dev2 src]# yum install php-ioncube-loader
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: pubmirrors.reflected.net
 * atomic: www2.atomicorp.com
 * base: dist1.800hosting.com
 * centosplus: mirror.unl.edu
 * epel: mirrors.tummy.com
 * extras: mirrors.tummy.com
 * rpmforge: ftp-stud.fht-esslingen.de
 * updates: www.ontime1405.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-ioncube-loader.i386 1:3.3.11-1.el5.art set to be updated
--> Processing Dependency: php-devel for package: php-ioncube-loader
--> Running transaction check
---> Package php-devel.i386 0:5.2.13-1.el5.art set to be updated
--> Processing Dependency: php = 5.2.13-1.el5.art for package: php-devel
--> Running transaction check
---> Package php.i386 0:5.2.13-1.el5.art set to be updated
--> Processing Dependency: php-cli = 5.2.13-1.el5.art for package: php
--> Processing Dependency: php-common = 5.2.13-1.el5.art for package: php
--> Running transaction check
---> Package php-cli.i386 0:5.2.13-1.el5.art set to be updated
--> Processing Dependency: php-common = 5.1.6-23.2.el5_3 for package: php-mysql
--> Processing Dependency: php-common = 5.1.6-23.2.el5_3 for package: php-pdo
--> Processing Dependency: php-common = 5.1.6-23.2.el5_3 for package: php-ldap
---> Package php-common.i386 0:5.2.13-1.el5.art set to be updated
--> Running transaction check
---> Package php-ldap.i386 0:5.2.13-1.el5.art set to be updated
---> Package php-mysql.i386 0:5.2.13-1.el5.art set to be updated
---> Package php-pdo.i386 0:5.2.13-1.el5.art set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================
 Package                              Arch                   Version                                 Repository                Size
====================================================================================================================================
Installing:
 php-ioncube-loader                   i386                   1:3.3.11-1.el5.art                      atomic                   906 k
Installing for dependencies:
 php-devel                            i386                   5.2.13-1.el5.art                        atomic                   579 k
Updating for dependencies:
 php                                  i386                   5.2.13-1.el5.art                        atomic                   1.2 M
 php-cli                              i386                   5.2.13-1.el5.art                        atomic                   2.4 M
 php-common                           i386                   5.2.13-1.el5.art                        atomic                   272 k
 php-ldap                             i386                   5.2.13-1.el5.art                        atomic                    33 k
 php-mysql                            i386                   5.2.13-1.el5.art                        atomic                    82 k
 php-pdo                              i386                   5.2.13-1.el5.art                        atomic                    63 k

Transaction Summary
====================================================================================================================================
Install      2 Package(s)
Update       6 Package(s)
Remove       0 Package(s)

Total download size: 5.5 M
Is this ok [y/N]: y
Downloading Packages:
(1/8): php-ldap-5.2.13-1.el5.art.i386.rpm                                                                    |  33 kB     00:00
(2/8): php-pdo-5.2.13-1.el5.art.i386.rpm                                                                     |  63 kB     00:00
(3/8): php-mysql-5.2.13-1.el5.art.i386.rpm                                                                   |  82 kB     00:00
(4/8): php-common-5.2.13-1.el5.art.i386.rpm                                                                  | 272 kB     00:00
(5/8): php-devel-5.2.13-1.el5.art.i386.rpm                                                                   | 579 kB     00:00
(6/8): php-ioncube-loader-3.3.11-1.el5.art.i386.rpm                                                          | 906 kB     00:00
(7/8): php-5.2.13-1.el5.art.i386.rpm                                                                         | 1.2 MB     00:01
(8/8): php-cli-5.2.13-1.el5.art.i386.rpm                                                                     | 2.4 MB     00:02
------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                               929 kB/s | 5.5 MB     00:06
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating       : php-common                                                                                                  1/14
warning: /etc/php.ini created as /etc/php.ini.rpmnew
  Updating       : php-pdo                                                                                                     2/14
  Updating       : php-cli                                                                                                     3/14
  Updating       : php                                                                                                         4/14
  Updating       : php-mysql                                                                                                   5/14
  Updating       : php-ldap                                                                                                    6/14
  Installing     : php-devel                                                                                                   7/14
  Installing     : php-ioncube-loader                                                                                          8/14
  Cleanup        : php-common                                                                                                  9/14
  Cleanup        : php-ldap                                                                                                   10/14
  Cleanup        : php                                                                                                        11/14
  Cleanup        : php-mysql                                                                                                  12/14
  Cleanup        : php-cli                                                                                                    13/14
  Cleanup        : php-pdo                                                                                                    14/14

Installed:
  php-ioncube-loader.i386 1:3.3.11-1.el5.art

Dependency Installed:
  php-devel.i386 0:5.2.13-1.el5.art

Dependency Updated:
  php.i386 0:5.2.13-1.el5.art               php-cli.i386 0:5.2.13-1.el5.art            php-common.i386 0:5.2.13-1.el5.art
  php-ldap.i386 0:5.2.13-1.el5.art          php-mysql.i386 0:5.2.13-1.el5.art          php-pdo.i386 0:5.2.13-1.el5.art

Complete!

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.


The Definitive Guide to CentOS (Books for Professionals by Professionals) (Paperback)


List Price: $39.99 USD
New From: $24.67 USD In Stock
Used from: $12.64 USD In Stock


Foundations of CentOS Linux: Enterprise Linux On the Cheap (Books for Professionals by Professionals) (Paperback)


List Price: $42.99 USD
New From: $24.99 USD In Stock
Used from: $12.50 USD In Stock

Share