IonCube is a PHP encryption/Decryption tool similar to zend.

Source: Internet
Author: User
Tags ioncube
IonCube is a tool used to encrypt PHP. IonCubeEncoder can convert PHP source code to ByteCode. The PHP code after encryption and authorization is not open-source. You must use ionCubeloader to add

IonCube is a tool used to encrypt PHP. IonCube Encoder can convert PHP source code to ByteCode. The PHP code after encryption and authorization is not open-source. You must use ionCube loader to add

PHP does not have the ionCube loader module. It must be downloaded from the ionCube website. IonCube loader is free of charge, but Encoder is expensive (starting at $199 ).

The following describes how to install ionCube Loader in Linux.

1. Download ionCube and find the corresponding version through this link. I use wget to get the Linux64 version from the command line.
Wget-c

2. Decompress tar-zxvf ioncube_loaders_lin_x86-64.tar.gz

3. In the decompressed folder, you can find the ioncube-loader-helper.php and copy it to the directory of the website, for example:
Cp ioncube-loader-helper.php/var/www/html/

4. then open the ioncube-loader-helper.php in the browser, click the Server System Information Link, it will tell you according to your System configuration should use the ionCube-loader module, and tell php. ini path.

5. Copy the related modules to/usr/local/(or another directory) and add a line in php. ini as prompted in step 4. For example:
Zend_extension =/usr/local/ioncube/ioncube_loader_lin_5.3.so
Note: If you do not have zend_extension in php. ini, you can add this line to any position. Otherwise, add it to the first zend_extension statement.

6. Save php. ini and restart the server. The command used on our server is:/etc/init. d/httpd restart

In addition, I also saw an article on ZendGuard and ionCube tool Comparison on ZendChina. ZendGuard is also a tool for PHP source code encryption. ZendGuard can only be used to configure the ZendOptimizer environment, it cannot run independently. It is said that ZendOptimizer (PHP Optimization engine) can be improved by 20 ~ 50% of the source code execution speed, if combined with ZendGuard, you can increase the speed to more than 50%. Our company's website has not yet used PHP encryption and PHP optimization, so we have the opportunity to try it.

I wonder if PHP encryption violates the Open Source Concept?


IonCube loader is similar to zend's php encryption tool

Yesterday I got an oracle online examination system, a Hong Kong server, and opened the homepage and a Hong Kong VM. The following message is displayed:
"Requires the ionCube PHP Loader ioncube_loader_win_5.2.dll to be installed by the site administrator"

This is because ionCube loader is missing, that is, the ionCube decryption tool.

IonCube Encoder can convert PHP source code to ByteCode. The PHP code after encryption and authorization is no longer open-source. You must use ionCube loader to execute the encrypted PHP code. PHP does not have the ionCube loader module. It must be downloaded from the ionCube website. IonCube loader is free of charge, but Encoder is expensive (starting at $199 ).

Fortunately, the examination system integrates the loader package, saving me the trouble of downloading. My office computer cannot connect to the Internet. Now I type this computer for information query.

After opening the file, make sure that the Loader ioncube_loader_win_5.2.dll file exists,

Then, find the php-apache2handler.ini file under the php installation directory. Search for its zend_extension_ts

Insert a paragraph after it: zend_extension_ts = "e: \ phpnow \ php5.2 \ oes \ ionCube \ Loader ioncube_loader_win_5.2.dll ".

Replace the path of the Loader ioncube_loader_win_5.2.dll file with yours.

Restart apache to test the effect.

Good English, you can also view the ioncube-loader-help.php file self-installation configuration, Hong Kong Virtual Host

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.