wamp出现You don’t have permission to acces
1、httpd.conf 文件
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
并将它改成:
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
</Directory>
接着在继续在httpd.conf文件中找到:
# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
并将其中的Deny from all 改成Allow from all 并保存
2、httpd-vhosts.conf
<VirtualHost *:80>
ServerName localhost
DocumentRoot D:/wamp64/www
<Directory "D:/wamp64/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
Require local 改为 Require all granted
重启OK
3、安装thinkcmf
D:\wamp64\bin\apache\apache2.4.23\bin\php.ini
找到 always_populate_raw_post_data设置如下:
always_populate_raw_post_data = -1
https://jingyan.baidu.com/article/7f766daf9f11d74101e1d01d.html