How to install Zend Optimizer On Apache 2.x

by admin on November 23, 2010

Install Zend Optimizer

Zend 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

Unpack Zend Optimizer

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

Move Zend Optimizer to /usr/local/Zend

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

Edit php.ini

vi /usr/local/lib/php.ini

Add Code:

zend_extension=/usr/local/Zend/ZendOptimizer.so

Restart Apache

 /etc/init.d/httpd restart

Checking

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

<?php
phpinfo();
?>

Open your web browser and type the url: http://<domain>/info.php, sample outputs:

Related Posts:

Leave a Comment

Previous post:

Next post: