Sunday, 30 August 2009

How to install zend optimizer

32 Bit and 64 Bit Linux servers.

For 32 Bit

cd /usr/local/src
wget http://downloads.zend.com/optimizer/3.3.0/ ZendOptimizer-3.3.0-linux-glibc21-i386.tar.gz


tar -zxvf ZendOptimizer-3.3.0-linux-glibc21-i386.tar.gz
cd ZendOptimizer-3.3.0-linux-glibc21-i386
./install


For 64 Bit

cd /usr/local/src
wget http://downloads.zend.com/optimizer/3.3.0/ ZendOptimizer-3.3.0-linux-glibc23-x86_64.tar.gz


tar -zxvf ZendOptimizer-3.3.0-linux-glibc23-x86_64.tar.gz
cd ZendOptimizer-3.3.0-linux-glibc23-x86_64.tar.gz
./install.sh


One of our Sysadmin Mr. Mayur recommends to add the following extenstions in the php.ini file.

zend.ini section looks like this,
[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.0a
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.s

No comments:

Post a Comment