How To Install Ioncube On Debian 8

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.

Active2 years, 7 months ago

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:

How To Install Ioncube On Debian 8

Proceed as follows:

Now edit to match:

Install

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!

slayedbylucifer
15.8k13 gold badges73 silver badges105 bronze badges
user1446650user1446650
4776 gold badges11 silver badges22 bronze badges

2 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 Averill
21.7k7 gold badges41 silver badges79 bronze badges

I 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.

How To Install Ioncube Php Loader

millionleavesmillionleaves

How To Install Ioncube On Cpanel

Not the answer you're looking for? Browse other questions tagged phplinuxamazon-ec2ioncube or ask your own question.