Evgeniy Sudyr schreef:
Hi all,
I want use Zend optimizer with apache and php5.
I downloaded ZendOptimizer-3.3.0a-openbsd3.4-i386.tar.gz from Zend
website (latest version is only for 3.4) and unpacked archive and copied PHP
module from /data/5_2_x_comp/ZendOptimizer.so to /var/www/lib/ZendOptimizer.so
I put lines below to php.ini
;zend_optimizer.optimization_level=15
zend_extension="/var/www/lib/ZendOptimizer.so"
Module not loading :(
# php -v
Failed loading /var/www/lib/ZendOptimizer.so: Cannot load specified object
PHP 5.2.3 with Suhosin-Patch 0.9.6.2 (cli) (built: Aug 16 2007 02:21:38)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
Is it possible run Zend optimizer with -current or 4.2 ? Please give a
bit instructions how make it workable.
Zend does not care about OpenBSD. I once had contact with the Zend
Optimizer devs (around 3.9 I think) and there were no plans to keep up
to date.
Using 3.4 is never going to work; I can tell you that much. Don't even
bother trying.
Look for an alternative PHP op-cache. OpenBSD includes APC in ports
which works good.
If you need encryption look at Ioncube they tend to be more flexible and
will compile it for you on your box.
Matt