Install Zend Optimizer

The Zend Optimizer is a free application that runs the files encoded by the Zend Encoder and Zend SafeGuard Suite, while enhancing the running speed of PHP applications. Many scripts require that you have Zend Optimizer installed so you are able to run them on your server while decrypting and running them on the fly while increasing runtime performance.

Tested On:
This tutorial was test on: Red Hat Enterprise Linux ES using Cpanel and assumes you will be installing on a Cpanel based system otherwise you may need to make modifications in the locations of files and directories for your OS/Control Panel.


1) First off you’ll need to grab a copy of the optimizer depending on what platform you would like to install it on.
Linux users should grab the Linux glibc2.1

Article provided by

2) Once you have downloaded the file locally you’ll need to upload it to your web server. FTP to your server and upload it to a directory of your choice. It’s to bad that Zend had to make it so they couldn’t provide us with a direct download so you can’t wget the file directly from the server… a bit of a pain.

3) Uncompress/extract  the file
tar zvfx ZendOptimizer*.tar.gz
cd ZendOptimizer-2.5.3-linux-glibc21-i386/

4) Now run the installer,

5) The welcome screen
zend optimizer install step 1

6) The agreement

zend optimizer install step 2

7) Where do you want to install Zend Optimizer?

zend optimizer install step 3

8) Locate your php.ini file

zend optimizer install step 4

9) Select Yes, chances are you are using Apache web server

zend optimizer install step 5

10) Enter the location of where apache files are

zend optimizer install step 7

11) Zend changing your php.ini file location, make a note of this.

zend optimizer install step 7


zend optimizer install step 8

13) Restart your web server for the changes to take effect

zend optimizer install step 9

14) Apache should restart successfully.
You may also restart Apache manually using # /etc/init.d/httpd restart

zend optimizer install step 10

15) Ensure that Zend Optimizer is working you can do the following in the shell.
php -v

You should see something like this for output:

PHP 4.3.8 (cgi) (built: Sep  1 2004 17:00:35)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with Zend Optimizer v2.1.0, Copyright (c) 1998-2003, by Zend Technologies

16) After the installation is complete you can remove the directory.
cd to where the extracted Zend first.
rm –rf ZendOptimizer-2.5.3-linux-glibc21-i386

Congrats, you have now installed Zend Optimizer.

Article written by Steven Leggett Copyright 2004

Leave a comment