Fix: chown storage and bootstrap/cache to www-data for php-fpm
This commit is contained in:
@@ -16,11 +16,12 @@ else
|
||||
fi
|
||||
|
||||
# -----------------------------------------------
|
||||
# 0b. Create required directories
|
||||
# 0b. Create required directories & fix permissions
|
||||
# -----------------------------------------------
|
||||
mkdir -p storage/framework/{cache,sessions,views}
|
||||
mkdir -p storage/logs
|
||||
mkdir -p bootstrap/cache
|
||||
chown -R www-data:www-data storage bootstrap/cache
|
||||
|
||||
# -----------------------------------------------
|
||||
# 1. .env file (must exist before composer/artisan)
|
||||
|
||||
Reference in New Issue
Block a user