PHP can use the Loader with one line added to a PHP configuration file (php.ini). This article will explain the procedure to install ioncube loader into CentOS, Ubuntu and Debian in detail. Step 1: Download ioncube loader. The first step in installing the ioncube loader is obviously to download the installation files from inocube’s website. This guide should work on other Linux VPS systems as well, but was tested and written for Debian 9 VPS. Download ionCube Loader The Ioncube loader archive can be downloaded free of charge from the official website. Follow the steps in this tutorial and to install ionCube Loader on an Ubuntu 16.04 VPS. The instructions are quite similar for other Debian-based distros. Login to your Ubuntu 16.04 VPS as user root.
I'm having trouble installing IonCube Loader on my Amazon Linux x64 instance.
I'm following these instructions below but the paths are way off and I can't seem to locate the right ones on my install.
For x64:
Proceed as follows:
Now edit to match:
First, there is no /usr/lib/php5/20090626/
folder. I changed these paths to /usr/lib64/php/modules
and included the .so file in there.
However, I cannot seem to locate any ioncube.ini
file to edit. Any help is appreciated...
Thank you!
slayedbylucifer2 Answers
For future readers sake, there is a difference between Amazon's Linux and other versions that most articles online refer to.
You can follow the first two steps above to get the installer, I like to use a temporary folder. Do this as root:
Copy the required extension to a slightly different folder under EC2 linux instances, and the loader wizard to your webroot:
Create your ini file:
Reload Apache (if you're using it):
I'm using NGINX and PHP-FPM, in this case you'd probably want to restart PHP-FPM as well as NGINX.
Lastly, use the loader wizard to test it by navigating to http://example.com/loader-wizard.php, and delete the temp files and loader wizard when finished:
Php Ioncube
Robbie AverillRobbie AverillI followed the instructions provided here in the first answer, making allowance for the fact that I'm runnning PHP 5.6:
However, when restarting Apache, I found that it started then failed immediately. The Apache log gave me this error:
I changed the name of the file from ioncube.so to 00-ioncube.so and restarted Apache. This solved the problem by making this file load before the other modules.