This tutorial is for System that have the following specs:

OS: RedHat
Control Panel: Cpanel (dont know if this will work with other control panels)

1: Login to SSH under ROOT:

2: Type the following:



<a href="http://ipost2host.com/viewtopic.php?f=64&t=2846#" target="_blank">
</a>
Code:
/scripts/installzendopt
3: Just Follow the directions and if everything goes well look in your phpinfo().

--------------------------------------------------------------------------
DETAILED INSTALLATION PROCEDURE IF YOU NEED :

Installation:

1) First off you’ll need to grab a copy of the optimizer depending on what platform you would like to install it on. http://www.zend.com/store/free_download.php?pid=13
Linux users should grab the Linux glibc2.1

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,
./install.sh

5) The welcome screen just click "OK"

6) The agreement click "EXIT" after reading it.

7) Where do you want to install Zend Optimizer?
- it will ask to specify the location
- enter " /usr/local/zend " without quotes of course.Click "OK"
Locate your php.ini file
- enter " /usr/local/lib" then Click "OK"
9) Select Yes, chances are you are using Apache web server

10) Enter the location of where apache files are
- Enter " /usr/local/apache/bin" Click "OK"

11) Zend changing your php.ini file location, make a note of this. - Just click "OK"

12) Installation complete screen will appear.

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

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

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 © 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright © 1998-2004 Zend Technologies
with Zend Optimizer v2.1.0, Copyright © 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.