IonCube is a tool used to encrypt PHP. IonCubeEncoder can convert PHP source code to ByteCode. The PHP code after encryption and authorization is no longer open-source. you must use ionCubeloader 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 ).
The following describes how to install ionCube Loader in Linux.
1.Download the ionCube http://www.ioncube.com/loader_download.php, and 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.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/ioncube_loader_lin_5.3.so
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