PDA

View Full Version : "Zend Optimizer" is not installed, but php.ini says it is, and tester is successfull


melonyes
07-06-2009, 06:46 PM
I have looked through many of the prior posts on this type of problem, but have tried a few, but am still getting the error.

Here is my setup, on my winows Vista machine,
Apache 2.2.11 is my localhost
from php.ini file:
[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer_ts = "C:\xampp\php\zendOptimizer\lib\Optimizer"
zend_extension_ts = "C:\xampp\php\zendOptimizer\lib\ZendExtensionManage r.dll"
zend_optimizer.enable_loader = 0

when i ran the tester from it said my webserver was compatible, and i should download the zend version of Calendar, which i did, successfully, but when i try to run it, http://localhost/calendar/setup/ i get this error:

Zend Optimizer not installed

This file was encoded by the Zend Guard (http://www.zend.com/products/zend_guard). In order to run it, please install the Zend Optimizer (http://www.zend.com/products/zend_optimizer) (available without charge), version 3.0.0 or later.
Seeing this message instead of the website you expected?

This means that this webserver is not configured correctly. In order to view this website properly, please contact the website's system administrator/webmaster with the following message:

The component "Zend Optimizer" is not installed on the Web Server and therefore cannot service encoded files. Please download and install the Zend Optimizer (available without charge) on the Web Server.

Note: Zend Technologies cannot resolve issues related to this message appearing on websites not belonging to Zend Technologies (http://www.zend.com/).
What is the Zend Optimizer?

The Zend Optimizer is one of the most popular PHP plugins for performance-improvement, and has been available without charge, since the early days of PHP 4. It improves performance by scanning PHP's intermediate code and passing it through multiple Optimization Passes to replace inefficient code patterns with more efficient code blocks. The replaced code blocks perform exactly the same operations as the original code, only faster.
In addition to improving performance, the Zend Optimizer also enables PHP to transparently load files encoded by the Zend Guard.
The Zend Optimizer is a free product available for download from Zend Technologies (http://www.zend.com/). Zend Technologies also developed the PHP scripting engine, known as the Zend Engine (http://www.zend.com/products/zend_engine).

ve9gra
07-06-2009, 06:51 PM
Try it by changing the \ to / in the paths. PHP expects "\" to be an escape character. If you really want to leave it as a backslash, you have to double it so every \ becomes \\. I find it's easier to use /.

melonyes
07-06-2009, 07:11 PM
thanks for the response, i tried, changing the php.ini to forward slash /
[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer_ts = "C:/xampp/php/zendOptimizer/lib/Optimizer"
zend_extension_ts = "C:/xampp/php/zendOptimizer/lib/ZendExtensionManager.dll"
zend_optimizer.enable_loader = 0

restarted Apache, still got error.
tried changing all "\" to "/" in the php.ini file, restarted again. Still got error. Changing back to "\" and waiting for next suggestion. Thanks for your responses.

ve9gra
07-09-2009, 08:10 PM
Have you tried the ionCube version instead? It usually works pretty easily with Windows servers.