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:
wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
tar xfvz ioncube_loaders_lin_x86-64.tar.gz
Proceed as follows:
cp ioncube/ioncube_loader_lin_5.3.so /usr/lib/php5/20090626/ioncube.so
Now edit to match:
zend_extension = /usr/lib/php5/20090626/ioncube.so
nano /etc/php5/conf.d/ioncube.ini
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!
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.