Php 禁止进入项目
我只是一个新的拉威尔学生(自学) 我已将xampp更新为最新版本,在尝试打开项目时出现此错误Php 禁止进入项目,php,laravel,Php,Laravel,我只是一个新的拉威尔学生(自学) 我已将xampp更新为最新版本,在尝试打开项目时出现此错误 Access forbidden! You don't have permission to access the requested object. It is either read-protected or not readable by the server. If you think this is a server error, please contact the webmaster. E
Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
Error 403
localhost
Apache/2.4.41 (Unix) OpenSSL/1.1.1c PHP/7.1.32 mod_perl/2.0.8-dev Perl/v5.16.3
我已经试过了,但还是不起作用
sudo chmod -R 777 storage
sudo chmod -R 777 bootstrap
请帮帮我。。怎么办?您可以使用以下命令运行laravel:“
php artisan serve
”。这样,您就不需要XAMPP apache。或者,如果您想从apache运行它,您必须将其指向laravel公用文件夹。laravel既有代客泊车又有宅地,为什么您要让自己的生活更艰难?您是否先设置了app directory的权限?