You are not logged in.
I've got Apache and PHP running properly, however whenever the server starts I get the following error which is preventing the ZendOptimizer.so module to be loaded in :
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20060613-zts/ZendOptimizer.so' - /usr/lib/php/20060613-zts/ZendOptimizer.so: undefined symbol: compiler_globals in Unknown on line 0
PHP v 5.2
Zend v 3.3.9
Anyone have an idea what I could do to resolve this ?
Offline
Hi :>
Do you use the PKGBUILD from the aur?
If yes, have a look at /etc/php/conf.d/zend_optimizer.ini and search zend_extension.
Replace every "/usr/lib/php/20060613-zts/" with "/usr/lib/php/20060613/"
PKGBUILD
If not, and you compiled it yourself, have a look at /etc/php/php.ini and search for zend_extension (typically at the end of the file), do a sudo updatedb on another terminal and then locate ZendOptimizer.so and that's the path you should put there
Offline
Forgot to post that I've found the solution here ...
Seems that Zend Optimizer 3.3.9 no longer ships with the thread safe modules as did 3.3.3.
The issue was not that PHP was not finding the Zend modules, but rather that when loading it, it was throwing undeclared symbols.
The paths printed above suffixed with -zts are perfectly normal since I'd recompiled the PHP module with --enable-maintained-zts.
Looks like I'll either have to stick to 3.3.3 or build a business case for switching over to fastcgi and 3.3.9. Been dying to do the latter anyways, so yay !
Either way, thanks for the help.
Last edited by delerious010 (2010-07-08 02:03:54)
Offline