I had a hard time in running Laravel5 on Fedora 21.

Finally looking at the NGINX log , i found there is some permission issues and SElinux is the culprit.

It was fixed using the chcon utility


chcon -Rt httpd_sys_content_t /var/www/
su -c "chcon -R -h -t httpd_sys_script_rw_t /var/www/"



SElinux permission issue for Laravel 5 on NGINX with PHP-FPM on Fedora 21
Tagged on:                     

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.