来自:http://blog.youkuaiyun.com/inroll/article/details/78304735 非常感谢!!
找到C:\wamp64\bin\apache\apache2.4.27\conf\httpd.conf 打开 在其中添加以下代码即可
<VirtualHost *:80>
<Directory "C:\wamp64/www/">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
DocumentRoot "C:\wamp64/www"
ServerName localhost:80
DirectoryIndex index.PHP index.html
</VirtualHost>
本文详细介绍了如何在WAMP64环境下配置Apache服务器,通过修改httpd.conf文件实现特定目录的访问设置,并确保PHP文件优先加载。
1995





