A detailed tutorial on how to install Ioncube Linux system

Source: Internet
Author: User
Tags fpm php file ioncube zend

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.