简体   繁体   中英

Installing Laravel on centos

I have installed Centos 7 and I want to install Laravel 5 on it, I already installed PHP, MySQL and Apache also I installed composer and created a new Laravel project but when I try to access it's index file that is in public folder of the project I get this error :

Remote server or file not found
You tried to access the address http://localhost/ToDo/public/, which is currently   unavailable.

other PHP files in /var/www/html folder work great

终于我解决了:我禁用了SELinux,并使用以下命令更改了对我的项目文件夹的读写访问权限:chmod -R 757 folder

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM