Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 禁止进入项目_Php_Laravel - Fatal编程技术网

Php 禁止进入项目

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

我只是一个新的拉威尔学生(自学)

我已将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.
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的权限?