lundi 5 mars 2018

laravel can't read/write compiled blades in storage/framework/views

when I moved my laravel project from local machine to production server, I'm keep getting the following error :

(1/1) ErrorException
file_put_contents(/var/www/html/something/storage/framework/views/1a753601712c44f3634dc18d99a244ad1fb3c3b8.php): failed to open stream: Permission denied

I've tried below possible solutions so far :

php artisan cache:clear 
chmod -R 777 storage/
composer dump-autoload

my laravel project folder also has required permissions and is owned by apache user.

I've tried a bunch of other possible solutions but nothing worked for me.

my laravel version is 5.5, apache 2.4, cetos 7, php 7.1.14 .

any idea guys?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2oQScDf
via IFTTT

Aucun commentaire:

Enregistrer un commentaire