E
E
elionalisov2018-10-17 22:12:39
ubuntu
elionalisov, 2018-10-17 22:12:39

Laravel /storage/framework/cache/data why from user www-data?

apache is launched under the web user
a8114c9496.jpg
changed all files in the project folder to the web user
(using the sudo chown -R web:web /var/www/html/laravel/ command),
but in the /storage/framework/cache/data folder the cache is created from the www user -data
accordingly the php artisan cache:clear command does not clear the cache. Works only through sudo. In this case, the command always returns Application cache cleared!
Tell me where I lost the setting, how to make everything in this folder also be created from under the web user?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Shumov, 2018-10-17
@elionalisov

By the fact that php performs actions from the specified user in its settings

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question