修改C:\wamp64\bin\apache\apache2.4.18\conf\extra\httpd-vhosts.conf
修改为一下内容:
# # Virtual Hosts # <VirtualHost *:80> ServerName localhost DocumentRoot c:/wamp64/www <Directory "c:/wamp64/www/"> Options +Indexes +FollowSymLinks +MultiViews AllowOverride All Require all granted </Directory> </VirtualHost>
重新启动WAMP即可