IonCube is a zend like PHP encryption and decryption tool

  • 2020-03-31 21:03:04
  • OfStack

PHP itself does not come with the ionCube loader module, you must go to the ionCube website to download. IonCube loader is free, but Encoder is more expensive (starting at $199).

Here's how to install the ionCube Loader under Linux.

1. Download ionCube (link: http://www.ioncube.com/loader_download.php), the corresponding version can be found through this link, I use wget version from the command line to get on.
The < code > wget - c (link: http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz) < / code > (link: 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. In the unzipped folder, you can find ioncube-loader-helper.php and copy it to the directory of the website, for example:
The < code > cp ioncube loader - helper. PHP/var/WWW/HTML / < / code >

4. Then open ioncube-loader-helper.php in your browser and click the Server System Information link, which will tell you which ioncube-loader module you should use, depending on your System configuration, and tell you the path to php.ini.

5. Next, copy the module to /usr/local/ (or some other directory) and add a line in php.ini as prompted in step 4. Such as:
< code > zend_extension = / usr/local/ioncube/ioncube_loader_lin_5. 3. So < / code >
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 php.ini and restart the server. The command used on our server is /etc/init.d/ HTTPD restart

I also saw an article about on ZendChina (link: http://bbs.zendchina.net/viewthread.php? Tid =209&extra=page%3D1&sid=nJT2u1) article, ZendGuard is also a tool to encrypt PHP source code, ZendGuard can only be used in the environment configured with ZendOptimizer, can not run independently. It is said that The ZendOptimizer (PHP optimization engine) you use increases the speed of your source code execution by 20-50%, and more than 50% when combined with ZendGuard. Our company's website is not yet encrypted and optimized with PHP, so you should try it if you have the chance.

Is PHP encryption against open source?


IonCube loader is similar to zend's PHP encryption tool

Yesterday under an online examination system of oreven, open the home page, prompt:
"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 the ionCube loader, or ionCube decryption tool.

IonCube Encoder converts PHP source code into ByteCode. PHP code after encryption authorization processing is no longer open source, you must use ionCube loader to execute encrypted PHP code. PHP itself does not come with the ionCube loader module, you must go to the ionCube website to download. IonCube loader is free, but Encoder is more expensive (starting at $199).

Fortunately, the test system integrated with the loader file package, save me the trouble to download. The computer in my office can't connect to the Internet. Now this one is for typing and searching information.

After opening, confirm the existence of Loader ioncube_loader_win_5.2.dll file,

Then under the PHP installation directory, find the php-apache2handler.ini file. Search the zend_extension_ts

Insert zend_extension_ts="e:\phpnow\php5.2\oes\ionCube\Loader ioncube_loader_win_5.2.dll".

Loader ioncube_loader_win_5.2.dll file path itself replace with yours.

Restart apache and test the effect.

Good English, you can also see the ioncube-loader-help.php file installation configuration

Related articles: