Ioncube a Zend-like PHP encryption/decryption Tool _php Tutorial

Source: Internet
Author: User
Tags php source code ioncube zend
PHP itself does not have a Ioncube loader module and must be downloaded to the Ioncube website. Ioncube Loader is free, but the price of encoder is more expensive (from $199).

Below you will learn how to install Ioncube Loader under Linux.

1. download Ioncube http://www.ioncube.com/loader_download.php, this link can find the corresponding version, I use wget from the command line to obtain the Linux64 version.
wget -c http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz

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

3. After the extracted folder can find ioncube-loader-helper.php, copy it to the site directory, for example:
cp ioncube-loader-helper.php /var/www/html/

4. then open ioncube-loader-helper.php under the browser and click on the server System Information link, which will tell you that you should use the Ioncube-loader module according to your system configuration , and tell php.ini the path.

5. Next, copy the relevant module to/usr/local/(or other directory) and add a line to the php.ini according to the fourth step hint. For example:
zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.3.so
Note: If you do not have zend_extension in your php.ini, you can add this line to any position, otherwise add it to the first zend_extension statement.

6. Save the PHP.ini and restart the server. The commands used on our servers are:/etc/init.d/httpd restart

In addition I saw a zendchina on the Zendguard and Ioncube tool comparison article, Zendguard is also a PHP source encryption tool, Zendguard can only be used to configure the Zendoptimizer environment, Cannot run independently. It is said that the use of Zendoptimizer (PHP optimization engine) can improve the 20~50% code execution speed, if combined with zendguard can increase the speed to more than 50%. Our company's website has not used PHP encryption and PHP optimization, have the opportunity to try.

I wonder if PHP encryption violates the idea of open source?


Ioncube Loader PHP encryption tool similar to Zend

Yesterday, a Orivan online examination system, open the homepage, prompt:
"Requires the Ioncube PHP Loader Ioncube_loader_win_5.2.dll to being installed by the site administrator"

This is the reason for the lack of ioncube loader, the Ioncube decryption tool.

Ioncube encoder can convert PHP source code to bytecode. The PHP code after the encryption authorization process is not open source, you must use Ioncube loader to execute the encrypted PHP code. PHP itself does not have a Ioncube loader module and must be downloaded to the Ioncube website. Ioncube Loader is free, but the price of encoder is more expensive (from $199).

Fortunately, the test system is integrated with the loader package, eliminating the hassle of my download. My office computer can not connect the Internet, now typing this is to check the information of the computer.

When open, determine the existence of the loader Ioncube_loader_win_5.2.dll file,

Then, under the PHP installation directory, locate the Php-apache2handler.ini file. Search for its zend_extension_ts

And then insert a paragraph: zend_extension_ts= "E:\phpnow\php5.2\oes\ionCube\Loader ioncube_loader_win_5.2.dll".

The path of the Loader Ioncube_loader_win_5.2.dll file itself is replaced by yours.

Restart Apache to test the effect.

Good English, you can also view the ioncube-loader-help.php file self-installing configuration

http://www.bkjia.com/PHPjc/322200.html www.bkjia.com true http://www.bkjia.com/PHPjc/322200.html techarticle PHP itself does not have a Ioncube loader module and must be downloaded to the Ioncube website. Ioncube Loader is free, but the price of encoder is more expensive (from $199). Here's how to ...

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