Laravel Permission Denied
It turns out I was missing a view directories in laravel_root/storage/
. In order to fix this, all I had to do was:
cd {laravel_root}/storage
mkdir -pv framework/views app framework/sessions framework/cache
cd ..
chmod 664 -R storage
chown -R www-data:www-data storage
After that, upon reloading, the issue was fixed. Thanks to Someguy123
from #laravel
on freenode
for fixing this issue!
If your permissions are 777 for Laravel Application folder and are still getting that error, it's because Seliux has blocked it. The application folder can be unblocked with the command below
su -c "chcon -R -h -t httpd_sys_script_rw_t /var/www/laravel-folder"