This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
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.
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
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