IonCube is a PHP encryption/decryption tool similar to zend _ PHP Tutorial

Source: Internet
Author: User
Tags ioncube
IonCube is a PHP encryption and decryption tool similar to zend. PHP does not have the ionCubeloader module. it must be downloaded from the ionCube website. IonCubeloader is free, but Encoder is expensive (starting at $199 ). The following describes how to download PHP without the ionCube loader module 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 the ionCube, and you can find the corresponding version through this link, I use wget to get the Linux64 version from the command line.
wget -c

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

3.You can find the ioncube-loader-helper.php in the decompressed folder 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.Next, copy the relevant 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/
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 thatThe 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 online examination system of orriwen. when I open the homepage, 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 to install the configuration

The javasloader module must be downloaded from the ionCube website. IonCube loader is free of charge, but Encoder is expensive (starting at $199 ). The following describes how...

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: 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.