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:  

http://www.zend.com/en/products/guard/downloads


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:


    Linux:

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

    Unix:

      [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 "install.sh" which we'll use to install Zend Optimizer.  Issue the following command:

      [root@localhost]# ./install.sh

  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

     

    ;[Zend]

    ;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3

    ;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3

    ;zend_optimizer.version=3.3.3

    ;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so

    ;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so


  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


Related Articles

No related articles were found.

Attachments

No attachments were found.

Visitor Comments

No visitor comments posted. Post a comment

Post Comment for "How do I install Zend Optimizer?"

To post a comment for this article, simply complete the form below. Fields marked with an asterisk are required.

   Name:
   Email:
* Comment:
* Enter the code below:

 

Article Details

Last Updated
16th of June, 2009

See also:
Troubleshooting your server.

Would you like to...

Print this page  Print this page

Email this page  Email this page

Post a comment  Post a comment

 Subscribe me

Subscribe me  Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF


User Opinions

No users have voted.

How would you rate this answer?




Thank you for rating this answer.

Continue