ps -ef | grep -v root | grep php-fpm_name | awk '{print $2}' |xargs pmap -d | grep -i mongo


查出php是否支持mongo