How To Install Zend Optimizer Manually

Overview

In some circumstances you might want to install Zend Optimizer manually. The procedure below explains how to extract the relevant binaries (PHP extensions) and load them into your PHP.

Instructions

 

1. Extract the Zend Optimizer package.

2. Locate ZendOptimizer.so (Unix) or ZendOptimizer.dll (Windows) file in the directory which corresponds to your version of PHP (4.3.x, 4.4.x, 5.0.x, 5.1.x, 5.2.x).

3. Add the following line to your php.ini file:

   Linux and Mac OS X:    

zend_extension=<full_path_to_ZendOptimizer.so>

   Windows:                

zend_extension_ts=<full_path_to_ZendOptimizer.dll>

   Windows non-thread safe:

zend_extension=<full_path_to_ZendOptimizer.dll>

 

Note:
Windows non-thread safe binary is only used with Zend Core 2.0.

 

4. Restart your Web server.

 

 

Result

The extension should be loaded by you PHP engine. See the output of phpinfo() verify that everything went correctly and inspect your Web server or PHP / FastCGI logs.