The ionCube PHP extension

“ionCube” is a free PHP extension which is required in order to use FileRun. It can be downloaded from “http://www.ioncube.com/loaders.php

The “Loader Wizard” is a PHP script that can help you with the installation. Download the script file from the ionCube website and upload it to your server. Launch the script in your browser for guidance on installation and selection of the correct Loader package. For more info you can refer to http://www.ioncube.com/loader_installation.php

Type http://yourdomain.com/filerun/info.php

If “info.php” does not exist, create one and add the following code inside:

<?php
phpinfo();

Now “http://yourdomain.com/filerun/info.php” 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/ioncube_loader_lin_5.5.so

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/ioncube_loader_lin_5.5_ts.so

(note the “_ts” part)

Manual "ionCube" installation

You can do it your self, 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 5.5, add a line like this:

zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.5.so

For FreeBSD and php 5.6, add a line like this

zend_extension_ts = /usr/local/ioncube/ioncube_loader_fre_5.6_ts.so

For Windows and php 5.5, add a line like this

zend_extension_ts = c:\WINNT\ioncube_loader_win_5.5.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 – yourdomain.com/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/ioncube_loader_lin_x.x.so

(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 IONCUBE 1
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.