Things You'll Need:
- SSH Access
- Root password
-
Step 1
SSH and connect to your box as your wheel group user, and then "su -" to root.
-
Step 2
Download the file you need from Zend directly. This page requires you to setup a free account with them to access the download page.
http://www.zend.com/free_download/optimizer -
Step 3
Once you have the file, copy it to your ~ directory on the linux server.
-
Step 4
If you have a GZ file:
gzip -d ~/ZendOptimizer-3.3.0-linux-glibc21-i386.tar.gz
Now that you have a tar (or started with a tar)
tar -xvf ~/ZendOptimizer-3.3.0-linux-glibc21-i386.tar -
Step 5
Change directory and then run the installer script.
cd ~/ZendOptimizer-3.3.0-linux-glibc21-i386
./install.sh -
Step 6
make sure that the end of your php.ini file looks like this - if not change it (this is assuming your installing version 3.3.0)
[Zend]
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.0
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.0
zend_optimizer.version=3.3.0
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so -
Step 7
Save and close the file if you change it. Then restart Apache to pick up the changes.
/sbin/service httpd restart -
Step 8
Now verify from the php CLI that its installed and working.
php -v
You should see something similar to
PHP 5.2.3 (cli) (built: Jun 7 2007 08:59:02)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies









