A
A
Alina2020-11-26 19:19:43
Laravel
Alina, 2020-11-26 19:19:43

How to set permissions on laravel folders on localhost so that there is no Permission denied?

Kind!
I'm trying to learn Laravel locally. After each template editing, it pops up:
ErrorException
file_get_contents(/home/user/laravel/resources/views/layouts/app.blade.php): failed to open stream: Permission denied (View: /home/user/laravel/resources/views/ layouts/app.blade.php)
chmod -R 777 /home/user/laravel is cured, but it's not convenient to fix it every time. How to make this error not appear every time you edit any file?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanes, 2020-11-26
@rivaufa

755 directories, 644 files.
And set up the environment in a human way. PHP FastCGI or PHP-FPM

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question