Sunday, March 3, 2013

Zend Optimizer Installation


Based on the php version you should install the ZendOptimizer. If the php version is equal or less than php-5.2.X go for Zend Optimizer.

cd /usr/src
ZendOptimizer-3.3.9-linux-glibc23-x86_64.tar.gz
tar -zxvf ZendOptimizer-3.3.9-linux-glibc23-x86_64.tar.gz

cd ZendOptimizer-3.3.9-linux-glibc23-x86_64
install.sh
If the php is greater than or equal to 5.3.X use ZendGuard.
cd /usr/src
wget ZendGuardLoader.so
Add the following line in the php.ini file. If there is existing similar line, comment it.
zend_extension="/usr/local/ZendGuardLoader.so"

If Zend Extension Manager is present on the old server
Old server will be 32 bit and new server will be 64 bit. If new server dont have it, copy the 64 bit ZendExtensionManager.so to the new server location /usr/local/Zend/lib and add the following line, just below the ZendOptimiser line in the php.ini file.
wget -O /usr/local/Zend/lib ZendExtensionManager.so
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so

No comments:

Post a Comment