windows - 升级到 Windows 10,现在 WAMP 无法工作

标签 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.

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

127.0.0.1 - - [29/Jul/2015:17:52:47 -0700] "GET / HTTP/1.1" 302 202

关于如何进行的任何提示、线索和问题?有什么方法可以获取更多详细信息,说明连接被拒绝的原因,以及 Windows 10 中的哪些更改会导致连接被拒绝?

最佳答案

  1. 在任务栏上搜索“打开或关闭 Windows 功能”。
  2. 在“Internet 信息服务”下,取消选择 Microsoft 必须默认启用的“万维网服务”(占用端口)。
  3. 重新启动,WAMP 恢复正常。

对于某些 Windows 更新,可能需要重复此操作

关于windows - 升级到 Windows 10,现在 WAMP 无法工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31713586/

相关文章:

cors - 如何在 wampserver 上允许 ACCESS-CONTROL-ALLOW-ORIGIN 也就是跨域

c# - 在尝试 Process.Start() 之前,如何以编程方式检查文件是否存在文件关联?

python - 为什么asyncio的事件循环会抑制Windows上的KeyboardInterrupt?

linux - Apache 重定向查询

php - 创建一个自定义 docker 容器以匹配我的服务器

php - 启动 WAMP 后,mysqld.exe 立即使用大量内存(450 MB)

c++ - QClipboard 的信号 selectionChanged 在 Windows 7 中不起作用

windows - Windows 上可以静默部署的 rsync 式解决方案?

python - Django-allauth - OpenID 和 OAuth 重定向 + Apache 作为代理

php - 无法在 phpMyAdmin 中查看数据库表