PDA

View Full Version : Zend Optimizer installed but not detected


timrolands
05-12-2009, 04:16 PM
I am trying to add the trial version of Easy PHP Calendar to a client's server so they can evaluate it. The server is running Windows 2003 with IIS 6. I installed Zend Optimizer, and it shows up as expected when I do the phpinfo test. However, when I run the Easy PHP Calendar tester, it says the Optimizer is not installed.

Others have just gone with the ionCube loader instead, but I don't think I can use that with PHP running in ISAPI mode rather than CGI.

Any help would be greatly appreciated. Thanks!

Tim

www.avastonetech.com (http://www.avastonetech.com) | www.writergear.com (http://www.writergear.com)

timrolands
05-12-2009, 04:40 PM
OK, upon more careful examination of the phpinfo output, I see that just the Zend engine is installed and not the Optimizer. However, the installer completed without any errors, and the php.ini file contains the following lines after the installation:

[Zend]
zend_extension_manager.optimizer_ts="C:\Program Files (x86)\Zend\ZendOptimizer-3.3.0\lib\Optimizer-3.3.0"
zend_extension_ts="C:\Program Files (x86)\Zend\ZendOptimizer-3.3.0\lib\ZendExtensionManager.dll"

I believe the locations to be correct. Any ideas why the Optimizer is not actually loading?

Tim

www.avastonetech.com (http://www.avastonetech.com) | www.writergear.com (http://www.writergear.com)

ve9gra
05-12-2009, 05:00 PM
I do know that PHP is really finicky about how paths are defined, especially when on Windows. Since in PHP a backslash ( \ ) is considered an escape character, you would have to have all your backslashed doubled ( \\ ). Or you can try instead with slashes ( / ), which usually works.