IonCube, the alternative to ZendOptimizer, can be installed on any of our hosting packages with PHP.
Step 1 - Check which Ioncube version is required
Please first check which version of Ioncube you need. Proceed as follows:
Create a file with a text editor, such as Notepad, and include the following:
| <?php phpinfo(); ?> |
Save the file as info.php and upload it via FTP to the root directory of your webspace.
Open the file in your browser, i.e. www.YourDomain.co.uk/info.php. You will now see the PHP settings of your package. The first row of the table System is important.
If you see this picture, you need the Solaris (Sparc) version:
![]()
If you see this picture on the other hand, you need the version for Solaris (x86):
![]()
Step 2 - Download Ioncube
Download the correct version of IonCube:
for Solaris (sparc):
http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_sun_sparc.tar.gz
for Solaris (x86):
http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_sun_x86.tar.gz
After unpacking the archive, please upload the files using an FTP program to your webspace into a separate folder called ioncube, preferably in the root directory.
The downloaded archive contains a file called loader-wizard.php, which is meant to help you to properly activate IonCube. If this file does not work, use the two older files instead.
Older versions of the help files for IonCube Integration
(ZIP archive containing the files ioncube-loader-helper.php and ioncube-encoded-file.php)
Step 3 - Create a php.ini file and activate IonCube
Now create a file called php.ini in the ioncube directory, and include the following text:
| zend_extension=/home/strato/www/Yo/www.YourDomain.de/htdocs/ioncube/ioncube_loader_sun_5.2.so |
Replace Yo and YourDomain.co.uk with your own domain name. The command must stand in one line. Please note the following additional article:
What is your system absolute path?
To conclude the installation, open the following address in your browser:
| http://www.YourDomain.co.uk/ioncube/loader-wizard.php |
If you used the two older files ioncube-loader-helper.php and ioncube-encoded-file.php instead, then use this address:
| http://www.YourDomain.co.uk/ioncube/ioncube-loader-helper.php http://www.YourDomain.co.uk/ioncube/ioncube-encoded-file.php |
The installation was successful, if you receive the following message upon opening the above address:
| An ionCube encoded file has been loaded successfully. - - - - - - This file has been successfully decoded. ionCube Loaders are correctly installed. |
Please note that the php.ini file only affects the folder it was uploaded into. If you receive a message that the IonCube loader could not be found or not installed, please write down the path of the script and then copy the file php.ini again in this folder.

