IonCube Installation
From KallestadWiki
Contents |
[edit]
Installing the ionCube Loader
[edit]
Step 1 - Download the ionCube Loader
wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
[edit]
Step 2 - extract it into a directory on your web root
cp ioncube_loaders_lin_x86.tar.gz /var/www/html cd /var/www/html tar -xvzf ioncube_loaders_lin_x86.tar.gz
[edit]
Step 3 - go to the loader-helper page
Use your web browser and open up the following url:
www.yoursite.com/ioncube/ioncube-loader-helper.php
You should get an image that looks like this:
There's one link on the page. Follow that link for instructions on setting up ionCube from within php.ini
The instructions for me are as follows:
At this point, the instructions are very simple. Just add one line to your php.ini file:
zend_extension = /<path>/ioncube_loader_lin_5.2.so
Now, of course, I'd rather move this extension outside of my web root to protect it from any funny business so...
cp -R ./ioncube /usr/local/ioncube
and then in php.ini
zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so
Follow the edit up with a graceful restart:
apachectl graceful
Bada Bam Bada Bing Your work here is done!
