E-Mail has been successfully sent.

How can I install IonCube in my web hosting package?

IonCube, the alternative to ZendOptimizer, can be installed on all of our web hosting packages with PHP.

Step 1 - Download IonCube
First, download the correct version of IonCube.

You will find an overview of the versions available here: External link Loader Packages

As a customer with a STRATO web hosting product, please select the archive for Linux (64 bits): External linkhttps://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.zip.

After decompressing the archive, use an FTP program to upload the files to your web space in a separate folder with the name ioncube. It would be best if you could place it in the main directory.

If you have activated PHP boost for your package in the STRATO Login area, it will be necessary to upload the files directly into the main directory. If so, it is then no longer necessary to upload the files to a separate ioncube folder.

 

Step 2 - Create php.ini and load IonCube

Now please create a file named php.ini in the ioncube folder with the following contents:

zend_extension=/home/strato/www/my/www.mydomain.de/htdocs/ioncube/ioncube_loader_lin_8.1.so
safe_mode=off
Remember to replace my (the first two letters of your domain) and mydomain.de with the correct letters/name corresponding to your domain. This command must be written continuously in a single line without spaces.

Please also note that the name of the file ioncube_loader_lin_8.1.so will need to correspond to the PHP version selected for your package. When using PHP version 8.1, the file ioncube_loader_sun_8.1. is the correct one.

If you are using a different PHP version, please select the corresponding .so file. In your STRATO Login area, you can check which PHP version you are using, and modify it if necessary. You will find more information in the following article: How to determine and change the PHP version.

When info.php is accessed, the entry IonCube Loader will also appear.

Please note that the settings in the file php.ini only affect exactly the folder in which it was saved. If you receive a message that the IonCube loader could not be found or is not installed when calling one of your scripts, please note the path of the script, and then copy the file php.ini into this folder once again.
Was this article helpful?
Info: 63805635510b333ecee08305e16a7907431e957c