These two days when the installation of WHMCS, there are
Requires the Ioncube PHP Loader ioncube_loader_lin_5.4.so to is installed by the site administrator.
The above said is not installed Ioncube, so we first to install the Ioncube.
View System
Uname-a
This is mainly to see if the system is 32 or 64-bit, otherwise installed is no use.
Download Ioncube
Enter: http://www.ioncube.com/loaders.php, depending on whether your system is 32-bit or 64-bit to 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"
Columns such as
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 that if there is an installation Zend Optimizer, the installation ioncube and Zend Optimizer may conflict, the Zend Optimizer code must be placed behind the ioncube.
Verifying Ioncube
Now we need to reboot APACHE2/PHP5-FPM (Nginx) to complete the load module
Restart the Web server
Service Apache2 Restart
Service PHP5-FPM Restart
When the reboot is complete, you can use Phpinfo to verify it. or directly create a PHP file, which reads as follows:
<?php
Echo Var_export (extension_loaded (' Ioncube Loader '), true);
Name on the free, open the result is "true" to indicate the success of the opening.