PHP/Mapscript and Zend Optimizer

Toomas Aas toomas.aas at RAAD.TARTU.EE
Sun Oct 14 14:46:07 PDT 2007


Arkadi Shishlov wrote:

> If you need speed, Optimizer won't get you any.
> It is only for running Zend encoded PHP pages - means vendor lock-in.

Yeah, thanks, I knew that. Or at least, sort of suspected. I'm not 
exactly sure *why* our developers want ZO. Maybe they need to run some 
Zend encoded files.

> Use XCache http://xcache.lighttpd.net/ which is PHP5 compatible or just 
> don't bother.

Thanks for the pointer, I wasn't aware of xcache. I've been using APC 
(http://pecl.php.net/APC) until now. But it is said to be incompatible 
with Zend Optimizer.

BTW, my Zend Optimizer problem got solved when I ripped out the lines 
from php.ini that were put there by ZO install and replaced them with 
just the following:

[Zend]
zend_optimizer.optimization_level=15
zend_optimizer.version=3.0.0
zend_extension=/usr/local/Zend/lib/Optimizer-3.0.0/php-5.1.x 
/ZendOptimizer.so


--
Toomas


... I think, therefore I am overqualified.



More information about the MapServer-users mailing list