I am currently learning PHP Laravel. I am in the process of setting up valet. However, I encountered a problem. Whenever I type (filename).dev, it shows the XAMPP main page instead of the Laravel initial project page. Can someone explain why this is happening?
答案 0 :(得分:0)
可以找到原始答案here。
apachectl stop
composer global require laravel/valet
valet install
valet restart
对于其他一些人来说,尝试简单地关闭/停止本地运行的Apache可能是一个不错的选择,因为其他人可能会发现这只是修复它的问题。