Reputation: 199
I have an outdated apache/php_mod configuration on my servers. Will PHP persist connections as in documentation without having php-fpm or it is required?
Upvotes: 5
Views: 429
Reputation: 18970
The PHP MongoDB driver is often used with PHP-FPM on nginx.
However, you do not need PHP-FPM on Apache to persist connections.
Anyways, make sure to use a MongoDB/Driver version 1.2 or newer or you may not gain any performance.
Also, take a look at the MongoDB documentation of compatible PHP drivers.
Upvotes: 1