How do I install Zend Optimizer?

Important Notes:
In the Unix/Linux environment, installing Zend Optimizer is done from the command line. If you do not know how to connect to your Unix/Linux server from command line, please refer to the document titled "How to Connect to Command line in Unix and Linux"

Once connected, you'll need to browse to the following link and find the package that you need:

Getting Started:
  1. Once the package is downloaded to your machine, you can upload it to the httpdocs of one of your domains using FTP. Once the file is uploaded to one of the domains, you'll need to browse to the location using the following commands:


    [root@localhost]# cd /var/www/vhosts/nameofdomain/httpdocs/


    [root@localhost]$ cd /usr/local/www/vhosts/httpdocs/nameofdomain/httpdocs

    ***You will need to change nameofdomain to the domain that you uploaded the Zend package to.***

  2. Now that you're in the directory of the Zend package, we need to extract and install Zend. The best way to extract the file is to issue the following command

    [root@localhost]# tar -xvzf ZendOptimizer-3.3.3-linux-glibc-i386.tar.gz
  3. When the package completes extracting, you'll need to change directories to the new extracted files. Use the following command:

    [root@localhost]# cd ZendOptimizer-3.3.3-linux-glibc-i386
  4. Inside of this folder with a script called "" which we'll use to install Zend Optimizer.  Issue the following command:

    [root@localhost]# ./
  5. Go through the screens until your screen looks like the following screen shot

  6. Go ahead and step through the installation process.  Once this is complete, you'll need to edit the php.ini fileThis can be done by using the following command

    [root@localhost]# vi /etc/php.ini
  7. For the next step, you'll need to copy the [Zend] Section from the php.ini file

    The following is what my [Zend] section looks like, do not copy the following, you will need to copy yours directly from the php.ini file







  8. Now you'll need to paste these lines into the file located at /etc/php.d/zend.ini. Once completed, the file should look similar to this:

  9. Finally, all that needs to be done is to restart the web server. Use the following command to restart the web server

    [root@localhost]# /usr/local/psa/admin/bin/websrvmng -av

    This article has been provided by Codero Hosting, the leading provider of reliable dedicated, managed and cloud hosting services. Need more information on this topic or to learn more about Codero’s hosting services please visit www.codero.comchat with us online or give us a call at 866-2-CODERO.
Posted in
Last update:
2015-12-03 20:39
Average rating:0 (0 Votes)