As part of our Server Support Services here at IbmiMedia, we do help customers regularly to install Ioncube loader in a DirectAdmin Control panel.
An ioncube loader is a very important PHP extension used for decoding encrypted PHP files. It aim is to make reading and execution of encoded files at run time.
In this Context, we shall look into how to get ioncube installed on your server.
How to get Ioncube loader installed on DirectAdmin?
To install ioncube loader php extension on DirectAdmin, follow the steps below;
1. To begin, log into your directadmin control panel as a root user.
2. Next, change the directory to "custombuild" as shown below;
3. Then install Ioncube with the command below;
./build set ioncube yes
4. Now restart the Apache web server to effect changes. You can use the command below;
Common problems encountered while trying to install Ioncube
While installing ioncube, most linux users face some issues. We will look into some of them.
i. Timezone Inaccurate
Just recently, one of our customers contacted us via our Live Chat support regarding an error encountered while setting up Ioncube. Specifically, he could not run the ./build command. Below is an error message displayed;
Failed loading /usr/local/lib/ioncube_loader_lin_5.3.so: /usr/local/lib/ioncube.
This error signifies that the timezone was not correctly set. To solve this issue, we had to change the date.timezone to the server time.
ii. Missing Attributes in the php.ini file
Another customer experienced an error after installing Ioncube on his server. The error message triggered look like this;
ionCube loader not installed
This means that zend_entension attribute was missing in the php.ini file. To fix this, simply add the line below;
zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so
Our Server Support Experts can troubleshoot and fix any error in php.ini file.