logo
Published on Technical articles on: Windows servers, Apache Web Server, MySQL, PHP, IIS (http://www.sitebuddy.com)

Zend Optimizer 2.6.2

By chris
Created 13 Jan 2006 - 3:34pm
Zend offer many additional tools for PHP, mostly commercial ones.
I prefer a manual installation (it easier to upgrade in the future). This generally holds true with most Open Source software on Windows.

1) Download the free Zend Optimizer.
http://www.zend.com/store/free_download.php

2) Install on a test server (so you can copy these files by hand on the "real" server).

3) Go to the install folder (D:\Zend\ZendOptimizer-2.6.2\lib\Optimizer-2.6.2) and upload the appropriate Zend version of ZendOptimizer.dll (using PHP 5.1.x here).
Upload to your PHP folder (the same folder containing your php5isapi.dll).

4) Add the following lines to your php.ini
zend_optimizer.optimization_level=15
zend_extension_ts="ZendOptimizer.dll"
zend_optimizer.enable_loader = 0

More details (PDF document) about the Zend Optimizer settings:
Use the download link at the bottom of the page.
OR
http://www.zend.com/store/pdf/ZendOptimizer_TechFAQ.pdf

5) To test if you have successfully installed the Zend Optimizer, load your phpinfo() page and you should see:
".../...
This program makes use of the Zend Scripting Language
Engine:
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with Zend Optimizer v2.6.2, Copyright (c) 1998-2006, by Zend Technologies
.../..."
 

Note: Personally I've no noticed any major speed improvement with Zend Optimizer as I did with eAccelerator. I recommend trying something else...

Other info:
http://www.zend.com/support/knowledgebase.php?kbid=49&view_only=1

AttachmentSize
ZendOptimizer_TechFAQ.pdf20.46 KB

Source URL:
http://www.sitebuddy.com/PHP/Accelerators/Zend/Optimizer