wamp搭建本地服务器

安装wamp

服务器配置文件的修改
• 路径:D:\wamp\bin\apache\apache2.4.9\conf\httpd.conf(根据安装目录自行修改)
• 第一个地方


AllowOverride none
Require all denied

修改为


AllowOverride None
Options None
Require all granted

• 第二个地方

onlineoffline tag - don't remove

Require local

修改为

onlineoffline tag - don't remove

Require local  
Require all granted

连接同一个wifi使得本机与其他设备在同一个局域网下

关闭本机防火墙

通过ipconfig查看本机的ipv4地址

连接了wifi的设备可以通过ip地址进行访问本地服务器了

转载于:https://www.cnblogs.com/211806419yejiehui/p/10925709.html

你可能感兴趣的:(wamp搭建本地服务器)