MongoDB服务没有使用WAMP启动

时间:2014-09-02 05:43:02

标签: php mongodb installation wamp

我是MongoDB的新手,并按this进行安装。在我的phpinfo中,我可以在mongodbApache EnvironmentEnvironment下看到PHP Variables。当我尝试启动MongoDB服务时,它会在screensshot

中显示错误

Service not started

我也看不到它像下面那样安装

MongoDB Installed

我的DLL文件是php_mongo-1.5.5-5.4-vc9-x86_64,MongoDB是从here安装的

PHP Version    5.4.3
Compiler       MSVC9 (Visual C++ 2008)
Architecture   x86
System Type    64 bit

有人可以指导我如何用PHP安装MongoDB

感谢。

1 个答案:

答案 0 :(得分:0)

感谢您的回复。我解决了我的uninstalling MongoDB服务,然后又安装了相关版本。

源代码问题是以前的MongoDB版本而不是最新版本,并且以某种方式删除了包含旧版本的文件夹,从而为source path not found抛出了异常。

此外,从here下载的DLL文件php_mongo-1.5.5-5.4-vc9.dll用于以下配置

PHP Version    5.4.3
Compiler       MSVC9 (Visual C++ 2008)
Architecture   x86
System Type    64 bit

希望它有所帮助。

相关问题