升级到Windows 10,现在WAMP将无法运行

aur*_*ath 33 windows apache wamp windows-10

我让WAMP在Windows 7上愉快地工作,作为我的本地开发服务器.今天升级到Windows 10,我的任务栏上有一个橙色的WAMP图标.原来Windows已经安装并自动运行IIS(为什么?).

我禁用了IIS,重新启动,启动了WAMP,图标变为绿色.但是,转到localhost会导致连接被拒绝.我在WAMP菜单上使用了"测试端口80"选项,它说是,Server: Apache/2.2.21 (Win32) PHP/5.3.10正在侦听端口80.

Apache错误日志不显示任何有用的信息.

[Wed Jul 29 17:48:40 2015] [notice] Apache/2.2.21 (Win32) PHP/5.3.10 configured -- resuming normal operations
[Wed Jul 29 17:48:40 2015] [notice] Server built: Sep 10 2011 11:34:11
[Wed Jul 29 17:48:40 2015] [notice] Parent: Created child process 4200
[Wed Jul 29 17:48:41 2015] [notice] Child 4200: Child process is running
[Wed Jul 29 17:48:41 2015] [notice] Child 4200: Acquired the start mutex.
[Wed Jul 29 17:48:41 2015] [notice] Child 4200: Starting 64 worker threads.
[Wed Jul 29 17:48:41 2015] [notice] Child 4200: Starting thread to listen on port 80.
[Wed Jul 29 17:48:41 2015] [notice] Child 4200: Starting thread to listen on port 80.
Run Code Online (Sandbox Code Playgroud)

Apache访问日志只显示几个实例

127.0.0.1 - - [29/Jul/2015:17:52:47 -0700] "GET / HTTP/1.1" 302 202
Run Code Online (Sandbox Code Playgroud)

任何提示,线索,问题如何进行?有什么方法可以获得有关连接被拒绝的更多细节,以及Windows 10中会导致它的变化?

小智 44

  1. 在任务栏上搜索"打开或关闭Windows功能".
  2. 在"Internet信息服务"下,取消选择Microsoft必须默认打开的"万维网服务"(接收端口).
  3. 重新启动和WAMP恢复原状.

有些Windows更新可能需要重复此操作

  • 由于`有些Windows更新可能需要重复此操作`,我认为更好的解决方案是安装IIS(我需要安装它...)并简单地停止默认网站IIS管理器(即使是孩子也可以解决这个GUI应用程序).它简单,快速,简单,您无需安装/安装任何东西. (2认同)

ryb*_*111 40

当我升级到Windows 10时,Wamp遇到了Apache的端口问题.

cmd以管理员身份运行,然后输入:

iisreset /stop
Run Code Online (Sandbox Code Playgroud)

然后Apache > Service > Install Service会提示您按Enter键正常安装.

一旦安装Restart All Services,你应该启动并运行.

您可能还需要安装:http://www.microsoft.com/en-us/download/details.aspx?id = 30679

  • @WebTechGlobal您必须右键单击`cmd`快捷方式并选择'以管理员身份运行' (2认同)

Ars*_*sum 11

它的工作原理:享受

1. Go to Start, type in services.msc
2. Scroll down in the Services window to find the World Wide Web Publishing Service.
3. Right click on it and select Stop.
4. Now restart WAMP and you should be good to go.
Run Code Online (Sandbox Code Playgroud)

记住重新启动计算机后每次需要做的事情...... :)


dea*_*zok 9

从Windows 8.1升级到Windows 10后,我的WAMP图标为红色.

我在这里找到了解决方案:http://forum.wampserver.com/read.php?2,134516 #msg-134518

W10安装将完全掌握Apache和MySQL服务的所有知识.

不要恐慌:你需要做的就是:

启动WampServer

左键单击wampmanager - > Apache - > Services - > Install Service

左键单击wampmanager - > MySQL - > Services - > Install Service

停止WampServer

启动WampServer

现在应该没问题.

我没有运行IIS,也没有使用我的端口80.甚至没有重启PC,只是上面解决了我的WAMP问题.希望这有助于其他人!


Moh*_*ari 7

如果其他答案不起作用,请尝试以管理员身份运行wampserver. 在此输入图像描述


aur*_*ath 1

弄清楚了。更新之前我有一个静态IP。转发到它的路由器端口允许我使用我们的 dns 条目的子域来访问开发服务器。恢复静态IP配置解决了问题。