How to install IonCube Loader on CentOS 7 Manually?

Ioncube is a PHP module which protects the PHP application's source code from being viewed from unlicensed computer. Also, it is used to run the encoded files. Most of the applications and software uses it for the security purpose. Following are the steps to install the IonCube Loader manually on your server Centos 7.0.

  1. Login to your server via SSH.

# ssh [email protected]_Address
  1. Run this command to check the system version.

# arch
  1. If your system version is 64 bit, you will need to install Ioncube Loader with 64 bit.

# wget
  1. Following link is for the 32 bit system version.

# wget
  1. Extract the tar.gz with this command.

# tar xfz ioncube_loaders_lin_x86-64.tar.gz
  1. Check your php version with following command and find the suitable ioncube loader version.

# php -v

PHP 7.0.32 (cli) (built: Sep 13 2018 16:50:42) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
  1. Here, php version is 7.0 so we will install the but You can choose the Ioncube version according to your php version.

# ls ioncube     LICENSE.txt  loader-wizard.php     README.txt  USER-GUIDE.pdf
  1. Find the php extension directory location.

# php -i | grep extension_dir
extension_dir => /usr/lib64/php/modules => /usr/lib64/php/modules
sqlite3.extension_dir => no value => no value
  1. copy the to the php extension directory.

cp ioncube/ /usr/lib64/php/modules
  1. Add the following line to your php.ini file.

# vi /etc/php.ini
zend_extension = /usr/lib64/php/module/
The path php.ini file may be difference on your server. If you have cPanel installed then you can check the path by adding phpinfo file.

  1. Save the php.ini file and verify the ioncube on your php and It should give you the following result.

# php -v
PHP 7.0.32 (cli) (built: Sep 13 2018 16:50:42) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from (unconfigured) v10.2.7, Copyright (c) 2002-2018, by ionCube Ltd.
    with Zend OPcache v7.0.32, Copyright (c) 1999-2017, by Zend Technologies

This is how you can install the Ioncube on the centos sever.

Related Articles

How to take Backup of Exim Configuration from WHM?

EXIM comes with cPanel which is responsible for the email tranfer on the Linux server. Users can...

How to Enable Extended Logging in Exim?

Extended Exim log is helpful in troubleshooting Exim issues on Linux Server. It allows you to add...

How to Install SHOUTCast Radio Server on Linux VPS?

This tutorial will assist you to install SHOUTcast Distributed Network Audio Server (DNAS 2.0) in...

How to sync time using NTP in Ubuntu server?

Linux server users might have noticed that after adjusting the system clock to the correct time,...

How to Manage Linux Cloud VPS From Client Area?

This article will assist you to manage your Linux Cloud VPS from client area (though you will...

  • 0 Users Found This Useful

Was this answer helpful?