Installing Zend Optimizer

Learn how to install Zend Optimizer for your web hosting package.

Zend Optimizer is a tool for PHP encryption. The software protects your PHP source code and your website from observation, modification and theft.

Please Note:  Shell access is required to install Zend Optimizer.

If you are using PHP 5.4  you need the successor software Zend Guard.

Step 1

Open the page Select the appropriate operating system for your server. For our classic web hosting packages, this is usually Linux. Under Download Older Versions click Download Here, then Click Zend Optimizer (Runtime for PHP 5.2 and earlier).

Step 2

Unpack the ZIP file on your local computer.

Step 3

Go to the Zend Optimizer root directory and select the data folder. You will find some subdirectories named after PHP versions, e.g. 4_3_x_comp.

Step 4

Select the file in the appropriate PHP version folder. Upload this file into a the required subdirectory of your webspace using an FTP client.

Step 5

Next, create a file called php.ini with the following content:


Replace the path /homepages/12/d1234567/htdocs/yourwebsite/ with the absolute path to your root directory. This can be found in Webspace Explorer:

Locate the Absolute Path, which is the complete path to the root directory of your domain.

Please note: htdocs is the root directory of your web space. In this example, the path points to the directory where the website files have been uploaded.

Alternatively, you can use shell to find the path of your main directory. To do this, enter the command pwd. If necessary, add the corresponding subdirectory to the path.

Please note: The php.ini is only valid in the directory where it is located. If you need Zend Optimizer in multiple subdirectories, you will need to copy the php.ini to the appropriate directory. Make sure that you do not overwrite any existing php.ini. You can insert both lines into an existing php.ini.