How To Install PHP Ioncube Loader In RHEL/Fedora/CentOS

Ioncube is a utility which is used to encrypt/decrypt PHP application, using this utility you can safe you application data. Ioncube loader is free PHP extension. It protect your PHP application from unauthorized execution. It also decodes encrypted PHP files at run-time. For more detail visit its official site.

In this tutorial I will describe how you can install PHP Ioncube Loader extension in RHEL/CentOS/Fedora.

Follow the below steps to install PHP Ioncube Loaders.

Step #1: Download Ioncube Loaders

First of you will need to download Ioncube loader on your system. You can use its office site to download it from ioncube download page or you can also follow the below command to download.

# tar xzf ioncube_loaders_lin_x86.tar.gz
# mv ioncube /usr/local/

Step #2: Enabling Ioncube Loader

Now you will need to edit php.ini file to add following line at the end of file. Follow the below command to find the php.ini file.

# php -i | grep php.ini

Configuration File (php.ini) Path => /etc
Loaded Configuration File => /etc/php.ini

Above you can see php.ini file located at /etc/php.ini. Now add the following line at the end of file.

zend_extension = /usr/local/ioncube/

Replace /usr/local/ioncube/ file with your matching PHP version file.

Step #3: Verifying Ioncube Loader

Now you can verify the installation and configuration of Ioncube PHP extension by using below command.

# php -m 
[Zend Modules]
the ionCube PHP Loader (enabled) + Intrusion Protection from (unconfigured)

OR,  Alternatively you can also use phpinfo.php page on your web server. To do this you will need to create phpinfo.php page on your web document root with following content. In my example my web document root is /var/www/html/.

# cd /var/www/html/
# vim phpinfo.php

Save and close file.

Now access your phpinfo.php page in browser.

I hope this article will be helpful to you. If you have any queries and problem please comment in comment section.




How to Extract/Open RAR File in Linux or UNIX Syst... In Linux or Unix operating system you will not see unrar command because unrar is not installed by default. RAR (Roshal Archive) is a compressed and a...
Easy Steps To Install Python3 On CentOS The default Python version 2.7 is still same on latest CentOS 7. It is also not available in base repositories.If you want to use python3 follow...
Why we can create only 4 Primary Partitions in HDD... Question: I would like to install CentOS alongside Windows 8 on my HP Laptop, but I noticed that this model has already four partitions. I would like ...
Cron Script to Monitor PHP Error (Fatal, Warning a... Monitoring of your site's PHP error is crucial to operating a secure, healthy and well performing websites. PHP errors can reduce performance, waste b...
Googler – Command Line Google Search On Linu... OVERVIEW:Googler is the command line search tools. You can search web, news, google sites search etc just typing command in Linux. Every Linux u...
Easy steps to upgrade PHP 5.3 to PHP 5.6 on CentOS... OVERVIEW:In my previous article  "PHP 5.4 installation steps on CentOS 6.x and Redhat 6.x system" I explained how we can install PHP 5.4 on Cent...


Hi! I'm Sagar and I'm here to post some cool article for you. If you have any query and suggestion please comment in comment section.

Leave a Reply

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