Home >Backend Development >PHP Tutorial >zte grand memo ionCube is a PHP encryption/decryption tool similar to zend

zte grand memo ionCube is a PHP encryption/decryption tool similar to zend

WBOY
WBOYOriginal
2016-07-29 08:43:21979browse

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. After decompression folder, you can find ioncube-loader-helper.php, copy it to the directory of the website, for example:
cp ioncube-loader-helper.php /var/www/html/

4. Then open it in the browser Open ioncube-loader-helper.php and click the Server System Information link. It will tell you which ionCube-loader module you should use based on your system configuration and tell you 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 first before a 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 PHP source code. As an encryption tool, ZendGuard can only be used in an environment configured with ZendOptimizer and cannot be run independently. It is said that the ZendOptimizer (PHP optimization engine) used can increase the source code execution speed by 20 to 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
I downloaded an online examination system from Oriwin yesterday and 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 for the lack of ionCube loader, the ionCube decryption tool.
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 find the php-apache2handler.ini file in the php installation directory. Search for its zend_extension_ts
and insert a paragraph after it: zend_extensi 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 it out ioncube-loader-help.php file self-installation configuration

The above introduces zte grand memo ionCube, a PHP encryption/decryption tool similar to zend, including the content of zte grand memo. I hope it will be helpful to friends who are interested in PHP tutorials.

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