IonCube gives developers the opportunity to protect their code that is written in the PHP programming language. IonCube prevents this code from being viewed, edited, and run on unlicensed systems. This works by IonCube compiling the bytecode before encoding, so that the source code is eliminated. Runtime overheads are also reduced.
php -i | grep extension_dir
extension_dir => /usr/lib/php5/20090626+lfs => /usr/lib/php5/20090626+lfs
.zip
that you downloaded from the IonCube website, there is a folder called IonCube
. Upload that whole folder to your webroot at /var/www/html
using the SCP connection. Alternatively, you could use wget to place it in that folder, using these commands:cd /var/www/html
mkdir ioncube
cd ioncube
wget http://www.ioncube.com/loader-wizard/loader-wizard.tgz
tar -xzf loader-wizard.tgz
http://<yourip>/ioncube/loader-wizard.php
.Name: AKLWEB Host
Address: https://www.aklwebhost.com
20-ioncube.ini
.zend_extension = /usr/lib/php5/20121212/ioncube_loader_lin_5.5.so
php.ini
file:php -i | grep 'Configuration File'
The output will appear similar to:
Configuration File (php.ini) Path => /etc
Loaded Configuration File => /etc/php.ini
nano /path/to/php.ini
zend_extension
line that we found earlier to the top of this file, below the line that reads [PHP]
./etc/init.d/apache2 restart
http://<yourip>/ioncube/loader-wizard.php
.