wamp服务器安装在其他C驱动器中


wamp server installed in other then C drive

我的windows 7安装在驱动器F中,wamp也安装在该分区中。

现在,当我启动wamp服务器时,它的颜色仍然是"红色",如果正确启动,它应该是green

如果你在C:''以外的分区中安装wamp,我知道我需要修改一些东西。我忘了什么。

如果有人能帮我开始做这件事,我将不胜感激。

目前,它给出错误:Unable to connect localhost

您可以在httpd.conf或default-server.conf中手动更改它,并编辑DocumentRoot

在我的机器上,文件在中

C:'wamp'bin'apache'Apache2.2.17'conf'httpd.conf

更改DocumentRoot

 "c:/wamp/www/" to DocumentRoot "F:/wamp/www/" (line 178)

所以有时,如果您启动服务器,服务器会显示为红色,但这不是问题,你可以尝试一下它可能有用:

http://here-write"localhost"。