Saturday, 26 April 2014

How to install Zend Optimizer On Apache 2.x

How to install Zend Optimizer On Apache 2.x
Install Zend OptimizerZend Optimizer is a free runtime application that enables you to execute scripts encoded by Zend Guard. Use Zend Optimizer as part of a complete PHP source code management solution.
Download Zend Optimizer
http://www.zend.com/en/products/guard/downloads
Downloads free 
Code:
http://autosetup1.googlecode.com/files/ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz

Unpack Zend Optimizer

Code:
tar -zxvf ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz


Move Zend Optimizer to /usr/local/Zend

Code:
mv ZendOptimizer-3.3.9-linux-glibc23-i386/data/5_2_x_comp /usr/local/Zend

Edit php.ini


Code:
vi /usr/local/lib/php.ini

or

nano /usr/local/lib/php.ini

Add Code:
Code:
zend_extension=/usr/local/Zend/ZendOptimizer.so

Restart Apache
Code:
/etc/init.d/httpd restart

Checking
Create a file info.php in your root web directory  with content:

Code:
<?php
phpinfo();
?>

No comments:

Post a Comment