WAMPSERVER php
The Apache service named reported the following error:
>>> (OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address [::]:80 .
WAMPSERVER on windows 8 not starting
Okay, I figured out: my machine's port 80 was being used by IIS, not by Skype. Here is how I found that:
Left-click the WAMPManager icon to reveal the menu. Click Apache ► Service ► Test port 80. This will launch a command window and display some information about what, if anything is using port 80. You can find more details at http://forum.wampserver.com/read.php?2,122527.
Configure Apache to listen on different port
Since I wanted to keep running IIS on the port 80, I decided to run my WAMP Server on a different port. So here is how I did it.
I had to change http.conf
file which in my case is in folder C:/WAMP/bin/apache/apache2.4.9/conf/
. Open it (with Notepad for example) and search for 80
. I had to change the following three lines on different places:
Listen 0.0.0.0:80 # Changed to Listen 0.0.0.0:81
Listen [::0]:80 # Changed to Listen [::0]:81
ServerName localhost:80 # Changed toServerName localhost:81
Now I have got the green icon of WAMP Server on Windows 8.
More details on http://forum.wampserver.com/read.php?2,13744.
C:\wamp64\bin\apache\apache2.4.39\conf\httpd.conf 修改这个文件中的配置。
http://localhost:81/index.php
http://localhost:81/adminer/adminer-4.7.1.php
http://localhost:81/phpmyadmin/
http://localhost:81/phpsysinfo/index.php?disp=bootstrap
Deploy and Run Your Web Apps using WAMP Server
- Copy the project and paste it to C:\wamp64\www [If you have installed WAMP for 32 bit system, you need to copy the projects to C:\wamp32\www ].
- Here my project folder name is sample. So I am copying folder ‘sample‘ to the www folder in WAMP installation directory.
- Now open your browser. Type localhost/sample/ in the address bar to run the project [Replace sample with your project folder name ].
作者:Chuck Lu GitHub |
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
2016-06-27 通过反射,获取类的属性
2015-06-27 Svn忽略配置
2014-06-27 设计模式网页资料