Home > Article > Backend Development > Introduction to two currently popular PHP encryption and decryption tools, Zend Guard and iconCube, zendiconcube_PHP tutorial
There are two main types of software currently popular on the market that perform the above-mentioned encryption authorization for PHP:
(1) ZendGuard by Zend Company.
(2) ionCube PHP Encode from ionCube Company.
ZendGuard can only encrypt files with PHP tags or source code (such as: .php, inc, etc.). It cannot encrypt other files saved in text mode without PHP tags. Support period, registration code .
ionCube PHP Encode, developed by ionCube, is used to encrypt PHP or non-PHP files. ionCube has been tested to be superior to Zend's ZendGuard in terms of functionality. It not only supports encryption methods such as expiration date, registration code, etc., but also supports complex encryption methods such as IP and MAC addresses. In addition, ionCube can not only encrypt PHP files with PHP tags or source code, but also encrypt non-php files saved in text mode, such as xml, js, css, etc. (But when reading and writing, you must use the reading API provided by ionCube for reading and writing operations.)
(a). When encrypting, use: PHP Encoder (paid)
(b). When decrypting and running, use: Loader (free)
Highly recommended to use iconCube
How to install ioncube extension?
1. Download loader-wizard.php (supports php5.3 and php5.4 versions, but does not support php5.5 version yet)
ioncube provides an installation wizard, which can very conveniently help detect the running environment of PHP and automatically give prompts.
1.1 Download loader-wizard via the following address: http://www.ioncube.com/loader-wizard/loader-wizard.zip
1.2 After downloading, unzip it and go to the www or htdoc directory of apache.
2. Run the loader-wizard.php program
2.1 Use a browser to access loader-wizard.php, such as http://localhost/loader-wizard.php. The actual access path will be modified according to the situation.
2.2 After calculation, this loader program will automatically give a prompt:
Follow the prompts of this wizard to download the corresponding decryption software. Place the downloaded decryption software in the directory specified by it. The download wizard program calculates the new php.ini file and replaces the original php.ini file of the system. Restart apache.
2.3 Verify whether the installation is successful
After restarting, visit loader.php again. If the installation is successful, the system will prompt you.
Seeing this interface means that the decryption software has been successfully installed.
You can contact customer service staff to see if there is a good solution. Do not solve it yourself to prevent an irreversible situation.
It is recommended that you use professional folder encryption software in the future - Folder Encryption Super Master, which is powerful, safe and reliable.
And there is a complete after-sales service team to help you solve the problems you encounter.
When the PHP code is encrypted by Zend Guard, the decryption software Zend
Optimizer must be installed to use it