我正在尝试在我的新Mac中开发一个laravel Web应用程序。
我在mac中配置了内置的php,apche,mysql并且工作正常。
安装新的laravel并为它创建一个新的路径并尝试运行它显示未找到错误。
我尝试了以下步骤。
检查了我的httpd.conf文件是否出现
LoadModule rewrite_module libexec/apache2/mod_rewrite.so
LoadModule php5_module libexec/apache2/libphp5.so
然后:
DocumentRoot "/Users/username/Sites"
<Directory "/Users/username/Sites">
Options FollowSymLinks Multiviews
MultiviewsMatch Any
AllowOverride All
Require all granted
</Directory>
一切都很好。但...
如何解决这个问题。感谢..
答案 0 :(得分:0)
最好的资源在这里: https://laracasts.com/lessons/say-hello-to-laravel-homestead-two 如果您按照Mac上的说明进行操作,那么一切正常。