CAll Us: USA +1 9176775553   Login

Install/update Zend Optimizer

Install/update Zend Optimizer

a) Install Zend Optimizer

# /scripts/installzendopt

Or

#cd /usr/local/src

# wget http://downloads.zend.com/optimizer/3.3.3/ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz

#tar -xzvf ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz

# cd ZendOptimizer-3.3.3-linux-glibc23-i386/

# ./install.sh

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

Step7

Save and close the file if you change it. Then restart Apache to pick up the changes.

/sbin/service httpd restart

Step8

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