- storage/app/Writable by PHP
- storage/framework/Writable by PHP
- storage/logs/Writable by PHP
- bootstrap/cache/Writable by PHP
- ./ (project root)Writable by PHP for temporary environment files
- .envReadable by PHP
- .env.backupCreatable or writable by PHP
- storage/Writable by PHP for installation marker
Permission Commands
Open Installation GuideChecks use the PHP worker's actual access, not only numeric permission modes. Run commands from the project root. Confirm your PHP worker user before applying ownership commands. The project root must allow temporary environment files; .env must be readable and an existing .env.backup must be writable. Folder commands below cover storage and cache only.
Ubuntu / Debian
sudo chown -R www-data:www-data storage bootstrap/cache
sudo chmod -R 775 storage bootstrap/cache
RHEL / CentOS / AlmaLinux / Rocky Linux
sudo chown -R apache:apache storage bootstrap/cache
sudo chmod -R 775 storage bootstrap/cache
macOS
sudo chown -R _www:_www storage bootstrap/cache
sudo chmod -R 775 storage bootstrap/cache
Windows IIS (PowerShell as Administrator)
icacls storage bootstrap\cache /grant "IIS_IUSRS:(OI)(CI)M" /T
Shared hosting terminal
chmod -R 775 storage bootstrap/cache