wamp安装后自定义配置,wamp安装后自定义
好记性不如烂笔头,在一个坑里徘徊两次的滋味真不好受!
wamp2.5安装完毕后,自己手动重新设置了apach的默认根目录。但是发现本机可以访问,别人不能访问。
提示信息为:Forbidden you dont hava permission to access * on the server 你没有权限访问
以前遇到过这个问题,只是隐约记得,修改了什么配置文件,改了目录的权限就可以了。
搜索后发现,都是说把有‘deny’的行全部替换为‘Allow from all’,亲自测试了不行。
各种纠结无奈之下,尝试去研究人家给的phpmyadmin,这就是最好的例子了。
在/wamp/alias下的phpmyadmin.conf文件中,文档开始的几行就写了如下的注释:
# to give access to phpmyadmin from outside
# replace the lines
#
#Require local
#
# by
#
# Require all granted
#
到这里,答案就很明显了。
于是找到apache2.4.9\conf\httpd.conf文件,把里面
‘Require local’替换为‘Require all granted’
至此,问题解决!
在不熟悉一个东西的时候遇到的问题,最好的解决方案来自Demo!
wamp这东西集成的!很简单!直接下载装就是了!不行再卸掉!没什么难得
下载后全部默认选项安装就可以运行了。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Atom editor mac version download
The most popular open source editor

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

WebStorm Mac version
Useful JavaScript development tools

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Zend Studio 13.0.1
Powerful PHP integrated development environment
