来自:http://blog.csdn.net/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>