0
Seeking a better performance for my application I changed the MPM of apache of prefork
for event
, but when restarting apache with the new processing module the mongodb does not work, while accessing the log file of the apache 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 also tried to use the MPM worker
and reinstall the drive Mongo through the PECL including after the command pecl clear-cache
, but the Mongo extension only works with the MPM prefork
.