How to install Zend Optimizer on Linux

If you have followed the instructions on Setting up LAMP (Linux Apache, MySQL, and PHP) and Setting up Webmin correctly, then installing Zend Optimizer will be just as easy as the previous installation.

I will be using the IP address for reference. You must change it to your correct IP or domain for it to work.

1. Download the Zend Optimizer package. On this example, it is version 3.3.3:


2. Extract the file and initiate the installer:

cd /tmp
tar -zxvf ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz
cd ZendOptimizer-3.3.3-linux-glibc23-i386/

3. On the installer prompt, you must supply the needed information. It may vary from machine to machine:

php5 path = /etc/php5/apache2/
apachectl = /usr/sbin/apache2ctl
apache2 path = /usr/sbin/apache2

4. Edit your php.ini:

nano /etc/php5/apache2/php.ini

Add this line on the very end:


5. Restart the Apache2 server:

/etc/init.d/apache2 restart

6. Using the earlier phpinfo file, point your browser to

You should see somewhere in the information:

… with Zend Optimizer …

Maybe you’re interested in Changing your server’s Time Zone.

Leave a Reply

Your email address will not be published. Required fields are marked *