Home  >  Article  >  Backend Development  >  ionCube is a PHP encryption/decryption tool similar to zend_PHP tutorial

ionCube is a PHP encryption/decryption tool similar to zend_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:36:001695browse

PHP itself does not come with the ionCube loader module, it must be downloaded from the ionCube website. The ionCube loader is free, but the Encoder is more expensive (starting at $199).

The following will introduce how to install ionCube Loader under Linux.

1. Download ionCube http://www.ioncube.com/loader_download.php. You can find the corresponding version through this link. I use wget to get the Linux64 version from the command line.
wget -c http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz

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

3. You can find ioncube-loader-helper.php in the unzipped folder, copy it to the directory of the website, for example:
cp ioncube-loader-helper.php /var/www/html/

4. Then open ioncube-loader-helper.php in the browser and click the Server System Information link. It will tell you which ionCube-loader module should be used based on your system configuration, and Tells the path to php.ini.

5. Next, copy the relevant modules to /usr/local/ (or other directories), and add a line to php.ini according to the prompts in step 4. For example:
zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.3.so
Note: If there is no zend_extension in your php.ini, you can add this line at any position, otherwise, add it before 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 ZendChina about the comparison between ZendGuard and ionCube tools. ZendGuard is also a tool for encrypting PHP source code. ZendGuard can only be used in an environment configured with ZendOptimizer and cannot run independently. It is said that the ZendOptimizer (PHP optimization engine) used by can increase the source code execution speed by 20~50%. If combined with ZendGuard, the speed can be increased to more than 50%. Our company's website has not yet used PHP encryption and PHP optimization. You must try it if you have the opportunity.

I wonder if PHP’s encryption goes against the concept of open source?


ionCube loader is a php encryption tool similar to zend

Yesterday I downloaded an online examination system from Oriwin, and when I opened the homepage, it prompted:
"requires the ionCube PHP Loader ioncube_loader_win_5.2.dll to be installed by the site administrator”

This is the reason why ionCube loader, the ionCube decryption tool, is missing.

ionCube Encoder can convert PHP source code into ByteCode. The PHP code that has been encrypted and authorized is no longer open source. You must use the ionCube loader to execute the encrypted PHP code. PHP itself does not come with the ionCube loader module, it must be downloaded from the ionCube website. The ionCube loader is free, but the Encoder is more expensive (starting at $199).

Fortunately, the test system integrates the loader file package, which saves me the trouble of downloading. My office computer cannot be connected to the Internet, and the computer I am currently typing on is used to check information.

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

Then go to the php installation directory and find the php-apache2handler.ini file. Search for its zend_extension_ts

and insert a paragraph after it: zend_extension_ts="e:phpnowphp5.2oesionCubeLoader ioncube_loader_win_5.2.dll".

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

Restart apache and test the effect.

If you are good at English, you can also check the ioncube-loader-help.php file to install and configure it yourself.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/322200.htmlTechArticlePHP itself does not have the ionCube loader module, it must be downloaded from the ionCube website. The ionCube loader is free, but the Encoder is more expensive (starting at $199). Here’s how to...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn