This is an old revision of the document!

The ionCube PHP extension

“ionCube” is a small and free PHP extension which is required in order to use FileRun. It can be downloaded from “


If “info.php” does not exist, create the file yourself and copy the following inside:


Now “” should provide information about your PHP configuration, as in the following example:

The first highlighted item describes the PHP version and server OS details e.g. PHP 5.5 in Ubuntu 3

Second item describes the system processor type e.g. x86-64. This is needed to download appropriate loaders e.g. as in image Linux (x86-64) package. You should enable the correct loader file with OS type and PHP version e.g.

zend_extension = /usr/local/ioncube/

The third highlighted item tells if PHP is threaded or not. In this example PHP is not threaded, if thread safety is enabled then your PHP configuration line should look like this:

zend_extension = /usr/local/ioncube/

(note the “_ts” part)

Manual "ionCube" installation

You can do it yourself, if you have access to the PHP configuration file “php.ini”. Most hosting service allow you to either create a custom PHP configuration file inside any of your folders, or they provide a PHP configuration editor inside their control panels.

Depending on the PHP details that you checked above, your configuration line might look like this:

For linux and php 7.2, add a line like this:

zend_extension = /usr/local/ioncube/

For FreeBSD and php 7.3, add a line like this

zend_extension_ts = /usr/local/ioncube/

For Windows and php 7.4, add a line like this

zend_extension_ts = c:\WINNT\ioncube_loader_win_7.4.dll

It is always best and easier to contact your hosting company tech support and ask them about the appropriate configuration line.

Installing ionCube on Ubuntu

Shared Hosting Support

On the PHP details page, search for the “ioncube” word. If you can't find anything similar, then it is not enabled. Search the hosting FAQ, forum for any instruction to enable ionCube. The best solution would be to contact your hosting support. It is just matter of seconds for them to enable ionCube for you.

  1. Log into the HostGator cPanel –
  2. Go to the Software » Services in cPanel
  3. Click the “PHP Config” option and select the “PHP5 (Single php.ini) option
  4. And click “Save Changes.”

You will be directed to Install Default php.ini page

  1. Click the option to install IonCube.
  2. Check “IonCube” and click “Install” button to install.
  3. Use te “Go Back” option from bottom once done
  4. Go to your “File Manager”
  5. Select Web Root (public_html/www) to load in file manager
  6. Browse and find newly created php.ini.default
  7. Select and Rename the file as php.ini
  8. Now the IonCube is enabled.

Contact hosting support

  • Log into the Control Panel with the account username and password.
  • Click on CGI and Scripted Language Support under Scripting and Add-Ons.
  • Click on PHP Scripting.
  • Add the following line:

zend_extension = /usr/local/lib/ioncube/

(Where x.x is the version of your php)

  • Click on the Save button

Must open a support ticket and request Ioncube support.

Add the following line to a custom .htaccess file:

SetEnv PHP_VER 5

Or create a file called .htaccess, and using a text editor put the above code lines in it, save changes, and upload it to the root of the store files.