A detailed tutorial on how to install Ioncube Linux systems

Source: Internet
Author: User
Tags fpm ioncube zend

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

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.