[HOW-TO]How Install Ioncube Sentora
12-18-2014, 11:40 AM
(This post was last modified: 12-18-2014, 08:56 PM by Cantalupo.)
SO: Ubuntu
- Begin by downloading the latest loaders
32 bits
Code:wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.zip
unzip ioncube_loaders_lin_x86.zip
64 bits
Code:wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.zip
unzip ioncube_loaders_lin_x86-64.zip
- Move the ioncube folder to a permanent location by entering:
Code:mv ioncube /usr/lib/php5/20121212
- Next, you need to locate the php.ini file, to do this enter: locate php.ini - You should find it is in /etc/php5/apache2/php.ini. Now that you know the location of php.ini you need to edit it.
Code:sudo nano /etc/php5/apache2/php.ini
- Paste in your new line for ioncube loader:
Code:zend_extension = /usr/lib/php5/20121212/ioncube/ioncube_loader_lin_4.1.so
zend_extension = /usr/lib/php5/20121212/ioncube/ioncube_loader_lin_4.2.so
zend_extension = /usr/lib/php5/20121212/ioncube/ioncube_loader_lin_4.3.so
zend_extension = /usr/lib/php5/20121212/ioncube/ioncube_loader_lin_4.3_ts.so
zend_extension = /usr/lib/php5/20121212/ioncube/ioncube_loader_lin_4.4.so
zend_extension = /usr/lib/php5/20121212/ioncube/ioncube_loader_lin_4.4_ts.so
zend_extension = /usr/lib/php5/20121212/ioncube/ioncube_loader_lin_5.0.so
zend_extension = /usr/lib/php5/20121212/ioncube/ioncube_loader_lin_5.0_ts.so
zend_extension = /usr/lib/php5/20121212/ioncube/ioncube_loader_lin_5.1.so
zend_extension = /usr/lib/php5/20121212/ioncube/ioncube_loader_lin_5.1_ts.so
zend_extension = /usr/lib/php5/20121212/ioncube/ioncube_loader_lin_5.2.so
zend_extension = /usr/lib/php5/20121212/ioncube/ioncube_loader_lin_5.2.so
zend_extension = /usr/lib/php5/20121212/ioncube/ioncube_loader_lin_5.2_ts.so
zend_extension = /usr/lib/php5/20121212/ioncube/ioncube_loader_lin_5.3.so
zend_extension = /usr/lib/php5/20121212/ioncube/ioncube_loader_lin_5.3_ts.so
zend_extension = /usr/lib/php5/20121212/ioncube/ioncube_loader_lin_5.4.so
zend_extension = /usr/lib/php5/20121212/ioncube/ioncube_loader_lin_5.4_ts.so
zend_extension = /usr/lib/php5/20121212/ioncube/ioncube_loader_lin_5.5.so
zend_extension = /usr/lib/php5/20121212/ioncube/ioncube_loader_lin_5.5_ts.so
zend_extension = /usr/lib/php5/20121212/ioncube/ioncube_loader_lin_5.6.so
zend_extension = /usr/lib/php5/20121212/ioncube/ioncube_loader_lin_5.6_ts.so
- Save the changes: ctrl + X then Y and enter
- Restart the web server to take effect.
Code:sudo /etc/init.d/apache2 restart