Looking for better performance for my application I've changed the MPM of apache from prefork
to event
, but when I restart apache with the new processing module o mongodb module does not work, when accessing the apache log file I checked the following line:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php-zts/modules/mongo.so' - /usr/lib64/php-zts/modules/mongo.so: cannot open shared object file: No such file or directory in Unknown on line 0
I've also tried using MPM worker
and reinstalling the mongo drive through PECL even after the pecl clear-cache
command, but the mongo extension only works with MPM prefork
.