This article discusses support for the ionCube PHP Loader on A2 Hosting servers. The ionCube Loader is a PHP extension that decodes and executes encoded files at run-time.
All shared hosting and reseller servers have the ionCube PHP Loader enabled by default. You can verify this yourself by viewing the server's PHP configuration settings. For more information about how to do this, please see this article.
Managed VPS and managed Flex Dedicated Servers have the ionCube PHP Loader enabled by default. You can verify this yourself by viewing the server's PHP configuration settings. For more information about how to do this, please see this article.
If you use Webuzo to install a LAMP (Linux, Apache, MySQL, and PHP) stack, it installs and configures the ionCube Loader as well. No further configuration is required on your part.
If you install Apache and PHP yourself, however, then you must download and configure the ionCube Loader. To do this, follow these steps:
To extract the files, type the following command:
tar xvzf ioncube_loaders_lin_x86-64.tar.gz
Move the ioncube directory to the /usr/local directory by typing the following command:
mv ioncube /usr/local
Add the following line to the /etc/php.ini file. Replace x.y with the PHP version number that you are running (for example, 5.4):
zend_extension = /usr/local/ioncube/ioncube_loader_lin_x.y.so
Restart Apache. To do this, type the appropriate command for your Linux distribution:
service httpd restart
For Debian and Ubuntu, type:
service apache2 restart
For more information about the ionCube PHP Loader, please visit http://www.ioncube.com.