Php 在centos上安装Laravel

Php 在centos上安装Laravel,php,laravel,centos,Php,Laravel,Centos,我已经安装了Centos 7,我想在上面安装Laravel 5, 我已经安装了PHP、MySQL和Apache,还安装了composer并创建了一个新的Laravel项目,但当我尝试访问该项目公用文件夹中的索引文件时,出现以下错误: Remote server or file not found You tried to access the address http://localhost/ToDo/public/, which is currently unavailable. /va

我已经安装了Centos 7,我想在上面安装Laravel 5, 我已经安装了PHP、MySQL和Apache,还安装了composer并创建了一个新的Laravel项目,但当我尝试访问该项目公用文件夹中的索引文件时,出现以下错误:

Remote server or file not found
You tried to access the address http://localhost/ToDo/public/, which is currently   unavailable.
/var/www/html文件夹中的其他PHP文件工作得很好

最后我解决了它:
我禁用了SELinux,并使用以下命令将我的项目文件夹的只读访问权限更改为读写访问权限:chmod-R 757 folder

显示应该为Laravel应用程序服务的Apache虚拟主机。@Kaloyan Doichinov抱歉,但我不明白你的意思