Ioncube is the best PHP encryption and decryption solution in the industry. Compared with Zend Guard, Ioncube has the following advantages: 1. Security: Zend Guard version is not very secure, the network has cracked use Zend, let's look at the Ioncube installation method.
These two days when the installation of Whmcs, there was a
Requires the Ioncube PHP Loader ioncube_loader_lin_5.4.so to being installed by the site administrator.
It says that Ioncube is not installed, so let's install Ioncube first.
View System
Uname-a
The main point here is to check whether the system is 32-bit or 64-bit, or it is useless to install.
Download Ioncube
Enter: http://www.ioncube.com/loaders.php, depending on whether your system is 32-bit or 64-bit download the appropriate package.
32-bit Ioncube
Cd/usr/local
wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
Tar zxvf ioncube_loaders_lin_x86.tar.gz
64-bit Ioncube
Cd/usr/local
wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
Tar zxvf ioncube_loaders_lin_x86-64.tar.gz
Configure Ioncube
Modify PHP.ini Add the following code at the end of the file:
[Ioncube Loader]
zend_extension= "/usr/local/ioncube/ioncube_loader_lin_php version number. So"
Gca
PHP5.1
[Ioncube Loader]
zend_extension= "/usr/local/ioncube/ioncube_loader_lin_5.1.so"
PHP5.2
[Ioncube Loader]
zend_extension= "/usr/local/ioncube/ioncube_loader_lin_5.2.so"
PHP5.3
[Ioncube Loader]
zend_extension= "/usr/local/ioncube/ioncube_loader_lin_5.3.so"
PHP5.4
[Ioncube Loader]
zend_extension= "/usr/local/ioncube/ioncube_loader_lin_5.4.so"
PHP5.5
[Ioncube Loader]
zend_extension= "/usr/local/ioncube/ioncube_loader_lin_5.5.so"
PHP5.6
[Ioncube Loader]
zend_extension= "/usr/local/ioncube/ioncube_loader_lin_5.6.so"
Note here: If you have installed Zend Optimizer, installation ioncube and Zend Optimizer may conflict, you must put Zend Optimizer code behind Ioncube.
Verify Ioncube
Now we need to reboot APACHE2/PHP5-FPM (Nginx) to complete loading module
Restarting the Web server
Service Apache2 Restart
Service PHP5-FPM Restart
After the reboot is complete, you can use Phpinfo to verify. or create a PHP file directly with the following content:
<?php
Echo Var_export (extension_loaded (' Ioncube Loader '), true);
The name is random, and opening the result to "true" means that the opening is successful.
A detailed tutorial on how to install Ioncube Linux systems