Select Category
Sitemap Help Contact
print article

Manually Install ionCube Loader

For Linux packages.

Follow the steps below to download and install ionCube Loader to your Linux Hosting package using only FTP.

ionCube Loader is a free tool for executing pre-compiled PHP code. The code must have been pre-compiled using the ionCube PHP Encoder for the ionCube Loader to be able to execute it. The advantage of pre-compiled code means that the code has already been slightly processed and is no longer human readable. The PHP code will also execute faster since it has already been pre-compiled.

Many web applications (such as content management systems) that can be purchased online may be pre-compiled using ionCube PHP Encoder or other similar tools to prevent reverse engineering or tampering of the PHP code. To be able to install a web application that has been pre-compiled using ionCube PHP Encoder, you will need to install ionCube Loader in your web space before the code will execute properly.

Step 1
Download the appropriate 32-bit or 64-bit Linux ionCube Loader in zip format from the ionCube website to your computer's desktop. ionCube Loader Packages
ionCube Loader Packages
Please note:
Using Secure Shell (SSH), you can find out whether you need the 32-bit or 64-bit ionCube Loader package by using the command "cat /etc/debian_version".

You will receive the output "x86_64" or "x86_32". The second value indicates the appropriate bit system.
Step 2
Uncompress the .zip file by right-clicking the file and selecting Extract All. Select Extract All
Select Extract All
Step 3
After extraction, you should be left with an ioncube folder. We will upload this folder later. Continue with the next steps. ionCube is extracted
ionCube is extracted
Step 4
Launch a basic text editor such as Notepad and copy and paste the code below into it:
<?php phpinfo(); ?>
Copy and paste the code
Copy and paste the code

Save the file as phpinfo.php to your desktop.

Save the file to your desktop
Save the file to your desktop
Step 5
Using an FTP program, upload only the phpinfo.php file to the folder that contains the ionCube PHP Encoded files.

Please reference our FTP section of the 1&1 Help Center for more help if necessary.

Step 6
Next, access the phpinfo.php page from the browser on your computer (such as Mozilla Firefox) using a URL that points to the folder containing your ionCube PHP Encoded files and the phpinfo.php page.
Step 7
First check the version of PHP being used at the top of the screen. Write down the version on a piece of paper. The PHP version is displayed
The PHP version is displayed
Step 8
Now, scroll down the page until you see the Environment heading. Highlight the value of DOCUMENT_ROOT. Highlight the DOCUMENT_ROOT value
Highlight the DOCUMENT_ROOT value
Step 9
Open your text editor again to create a new text document and copy and paste the DOCUMENT_ROOT value into it. Copy and paste the DOCUMENT_ROOT value
Copy and paste the DOCUMENT_ROOT value
Step 10
Now add the text /ioncube/ to the end of the line. You may need to replace the version number to match the version of PHP you are running. For instance, if the version of PHP you are using is 5.2.13, you would change the text to 5.2. Add the text to the text file
Add the text to the text file
Step 11
At the beginning of the line, add the text zend_extension= Add the text to the text file
Add the text to the text file
Step 12
Save the file to your desktop as php.ini Save the file to your desktop
Save the file to your desktop
Step 13
Using an FTP program...
  • Upload the php.ini file to the folder than contains your ionCube PHP Encoded files and phpinfo.php page.
  • Upload the ioncube/ folder to the root of your webspace. Do not upload the ioncube/ folder to a subfolder in your webspace.
Step 14
Access the phpinfo.php page again and you should now see that the ionCube Loader has been installed as is recognized by PHP. ionCube is installed
ionCube is installed
Step 15
Since the settings defined in the php.ini file only apply to the folder where it is saved (which should be the same folder as your ionCube encoded files and phpinfo.php page), it is now necessary to upload the php.ini file to any additional subfolders that contain files which require the ionCube Loader.

Tip: If your package allows SSH access, you may create symbolic links in subfolders that point to your original php.ini file. This way, if the original php.ini file needs to be edited, the changes will then be recognized by all symbolic links that point to it instead of having to overwrite all php.ini files in all the subfolders.

Please note:
With Managed Servers, please make sure that the PHP module is set to inactive in your Control Panel within the Advanced Configuration section.
For additional information, you may want to reference: