我将 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.
Apache 访问日志只显示几个实例
127.0.0.1 - - [29/Jul/2015:17:52:47 -0700] "GET / HTTP/1.1" 302 202
关于如何进行的任何提示、线索和问题?有什么方法可以获取更多详细信息,说明连接被拒绝的原因,以及 Windows 10 中的哪些更改会导致连接被拒绝?
最佳答案
- 在任务栏上搜索“打开或关闭 Windows 功能”。
- 在“Internet 信息服务”下,取消选择 Microsoft 必须默认启用的“万维网服务”(占用端口)。
- 重新启动,WAMP 恢复正常。
对于某些 Windows 更新,可能需要重复此操作
关于windows - 升级到 Windows 10,现在 WAMP 无法工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31713586/