How to install Ioncube Loader on Virtualmin with Centos 6.6 and PHP 5.5

3 posts / 0 new
Last post
#1 Tue, 08/11/2015 - 11:59
steelmaiden

How to install Ioncube Loader on Virtualmin with Centos 6.6 and PHP 5.5

What would be the easiest way to install Ioncube Loader on Virtualmin with Centos 6.6 and PHP 5.5?

Step by step please.

Thank you!

Tue, 08/11/2015 - 12:04
andreychek

Howdy,

Servers with Virtualmin work the same way as other servers would... so to get Ioncube working, it's just a matter of configuring the correct php.ini file.

In Virtualmin, websites use $HOME/etc/php.ini for their PHP configuration.

So all you'd need to do is find a guide for modifying the php.ini file for Ioncube, and just use the php.ini mentioned above.

-Eric

Tue, 08/11/2015 - 13:37
jimdunn

NOTE: This is an educational example only; no warranty implied.

Step-by-step procedure for installing the IONCUBE loaders into an APACHE server
(more information found at http://www.ioncube.com/loaders.php)

# cd /usr/local

(for 32 bit machine)

# wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.zip
# unzip ioncube_loaders_lin_x86.zip
# rm ioncube_loaders_lin_x86.zip

(for 64 bit machine)

# wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-6...
# unzip ioncube_loaders_lin_x86-64.zip
# rm ioncube_loaders_lin_x86-64.zip

(create a PHP5 conf file)

# vim /etc/php5/conf.d/0_ioncube.ini

(determine correct loader based on current PHP version, this example is for PHP 5.6)

---snip---
zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.6.so
;zend_extension_ts = /usr/local/ioncube/ioncube_loader_lin_5.6_ts.so
---snip---

(restart APACHE server)

# service apache2 restart

Topic locked