I'm looking to switch a Fedora server running Apache from prefork to worker.
Everything seems to be fine except the php libraries for Mongo and Memcache. Has anyone had any success getting these to work with the httpd worker mpm?
Note that I installed memcache and mongo like this:
yum install php-pecl-memcache php-pecl-mongo
On a whim, I tried copying the .so's from /usr/lib64/php/modules/
to /usr/lib64/php-zts/modules/
, but I got these errors:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php-zts/modules/memcache.so' - /usr/lib64/php-zts/modules/memcache.so: undefined symbol: basic_globals in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php-zts/modules/mongo.so' - /usr/lib64/php-zts/modules/mongo.so: undefined symbol: core_globals in Unknown on line 0