Failed loading /usr/local/Zend/lib/Optimizer-2_6_2/php-4.3.x/ZendOptimizer.so

If you are getting this error when installing zend 2.6.2:

Failed loading /usr/local/Zend/lib/Optimizer-2_6_2/php-4.3.x/ZendOptimizer.so: /usr/local/Zend/lib/Optimizer-2_6_2/php-4.3.x/ZendOptimizer.so: undefined symbol: zend_open


the problem is that --enable-versioning is incompatible with the optimizer. The solution is, theoretically, to recompile php without this setting. If you are like me and are using plesk and therefore cannot recompile it without breaking stuff, you're screwed.

BUT! Zend 2.5.7 is compatible with --enable-versioning. Get this older version here:

http://downloads.zend.com/optimizer/2.5.7/

 

 

 

 

Top