[BlueOnyx:18202] Re: Ioncube Loader

Michael Aronoff maronoff at gmail.com
Thu Aug 20 11:07:14 -05 2015


Dirk wrote:
> it is not very difficult but also not with one klick in the GUI ;)
> Try to place the wizard https://www.ioncube.com/loader-wizard/loader-wizard.zip within
> a site (is a php script) and try to follow the steps.

I can confirm it is quite easy.

Here is a rundown in case you are new to such things.

Once you install and the run the loader-wizard.php choose Local Installation (the third option if I remember correctly)
It will tell you which version of ioncube to download. For the 5208R it was http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz 

So login via ssh and make a working folder just to be safe. I create /home/installations. Here are the commands.
mkdir /home/installations
cd /home/installations
wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
tar zxfv ioncube_loaders_lin_x86-64.tar.gz
cd ioncube

The next line assumes you are running the upgraded PHP. Perhaps someone else can suggest the path for the stock PHP.
mv *.so /home/solarspeed/php/lib/

Then you need to tell PHP to load ioncube. I have had the loader-wizard.php suggest two different ways of doing this. Do NOT add the lines to your php.ini. If you do it can get overwritten and lost whenever you upgrade. Instead create a file to load the ioncube file.
nano -w /home/solarspeed/php/etc/php.d/20-ioncube.ini
and add the following.
zend_extension = /home/solarspeed/php/lib/ioncube_loader_lin_5.5.so

Save the file. Then add /home/solarspeed/php/lib/ to your openbasedir section in the GUI PHP settings  and then run.
service httpd restart

And you are done!
It is easier than it looks.
______________________________
M Aronoff Out






More information about the Blueonyx mailing list