Home | Mirror | Search

11. ZendOptimizer

# cd /usr/local/src
# tar zxvf ZendOptimizer-3.3.9-linux-glibc23-x86_64.tar.gz
ZendOptimizer-3.3.9-linux-glibc23-x86_64/
ZendOptimizer-3.3.9-linux-glibc23-x86_64/md5
ZendOptimizer-3.3.9-linux-glibc23-x86_64/Inventory.xml
ZendOptimizer-3.3.9-linux-glibc23-x86_64/EULA-ZendOptimizer
ZendOptimizer-3.3.9-linux-glibc23-x86_64/README-ZendOptimizer
ZendOptimizer-3.3.9-linux-glibc23-x86_64/LICENSE
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/4_3_x_comp/
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/4_3_x_comp/ZendOptimizer.so
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/5_1_x_comp/
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/5_1_x_comp/ZendOptimizer.so
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/4_2_x_comp/
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/4_2_x_comp/ZendOptimizer.so
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/5_0_x_comp/
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/5_0_x_comp/ZendOptimizer.so
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/4_4_x_comp/
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/4_4_x_comp/ZendOptimizer.so
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/poweredbyoptimizer.gif
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/4_2_0_comp/
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/4_2_0_comp/ZendOptimizer.so
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/5_2_x_comp/
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/5_2_x_comp/ZendOptimizer.so

# mv ZendOptimizer-3.3.9-linux-glibc23-x86_64 ..
# cd ..
# ln -s ZendOptimizer-3.3.9-linux-glibc23-x86_64 ZendOptimizer
		

php.ini

zend_optimizer.optimization_level=15
zend_extension="/usr/local/ZendOptimizer/data/5_2_x_comp/ZendOptimizer.so"
		
		
tar zxf ZendOptimizer-3.3.9-linux-glibc23-x86_64.tar.gz
mv ZendOptimizer-3.3.9-linux-glibc23-x86_64 ..

ln -s /usr/local/ZendOptimizer-3.3.9-linux-glibc23-x86_64 /usr/local/ZendOptimizer

cat >> /usr/local/php/etc/php.ini <<EOF
[Zend]
zend_optimizer.optimization_level=15
zend_extension="/usr/local/ZendOptimizer/data/5_2_x_comp/ZendOptimizer.so"
EOF
		
		
comments powered by Disqus