加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > PHP教程 > 正文

php – Windows 8(64位)中的WAMP不起作用

发布时间:2020-12-13 21:58:36 所属栏目:PHP教程 来源:网络整理
导读:我已经安装了wampserver.但它始终是一个红色托盘图标. 图标工具提示消息:本地服务器 – 没有2个服务正在运行. 80号港口没有被占用;用Apache检查?服务?测试端口80: Warning: chmod(): Permission denied in C:wampscriptsconfig.inc.php on line 68 Impo
我已经安装了wampserver.但它始终是一个红色托盘图标.

>图标工具提示消息:本地服务器 – 没有2个服务正在运行.
> 80号港口没有被占用;用Apache检查?服务?测试端口80:

Warning: chmod(): Permission denied in C:wampscriptsconfig.inc.php on line 68
Impossible to modify the file C:WINDOWSsystem32driversetchosts to be writab
le
The file C:WINDOWSsystem32driversetchosts is not writable
***** Test which uses port 80 *****
===== Tested by command netstat filtered on port 80 =====
Test for TCP
Port 80 is not found associated with TCP protocol
Test for TCPv6
Port 80 is not found associated with TCP protocol
===== Tested by attempting to open a socket on port 80 =====
Your port 80 is not actually used.

>Apache?服务管理?在cmd窗口中安装服务问题:

enter image description here


按Enter键关闭窗口,没有任何反应.等待也没有任何利润.

怎么了?

更新

>尝试在httpd.conf中更改Apache的端口号(均为81和8080):

听0.0.0.0:8080
听[:: 0]:8080
ServerName localhost:8080
>检查IIS是否为runnig =>没有!

enter image description here

.

没有帮助.

解决方法

我有同样的问题,解决方案太简单了:

“以管理员身份运行它.”

>无需更改端口或其他附加配置……

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读