Load Zend Optimizer for php 5.3

Constantin picture Constantin · Jul 20, 2012 · Viewed 11.7k times · Source

I follow their guide http://kb.zend.com/index.php?View=entry&EntryID=424 to enable Zend Optimizer in my php.ini and it does not work properly.

in php.ini i have

zend_extension_ts = "ZendLoader.dll"

php.ini is loaded correctly, before i had a problem like Failed loading ZendLoader.dll but later i found that i need to use zend_extension_ts instead of zend_extension because my php is a TS version.

And now PHP doesn't show any errors, but in phpinfo() or PHP -m, i don't see any zend extensions loaded. Anyone suggestions on how i could make this to work ?

Answer

user149341 picture user149341 · Jul 20, 2012

Zend Optimizer doesn't exist for PHP 5.3.

The product was renamed ZendGuard when it was released for PHP 5.3. However, ZendGuard cannot load files that were encoded for Zend Optimizer, and vice versa -- they're effectively two separate products. If you've got an application that was encoded for Zend Optimizer, you're stuck on PHP 5.2.