我在 Centos 6.5 中安装了 PHP 5.4 和 mongodb。
我尝试使用http://www.liquidweb.com/kb/how-to-install-the-mongodb-php-driver-extension-on-centos-6/中给出的说明安装 PHP mongodb 扩展,但是当我运行php -m | grep -i mongo
,它显示以下错误:
PHP Warning: PHP Startup: mongo: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
in Unknown on line 0
请提出解决方案。