Answer the question
In order to leave comments, you need to log in
Laravel /storage/framework/cache/data why from user www-data?
apache is launched under the web user
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
By the fact that php performs actions from the specified user in its settings
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question