@extends('install.layout', ['title' => 'Permissions Check', 'currentStep' => 2]) @section('header')

File Permissions

Verifying that the required files and directories are writable.

@endsection @section('content')
@foreach ($permissions as $path => $status) @endforeach
File/Directory Status
{{ $path }} @if ($status)
Writable
@else
Not writable
@endif
@php $passedCount = count(array_filter($permissions, fn($status) => $status === true)); $totalCount = count($permissions); $allPassed = $passedCount === $totalCount; @endphp
@if ($allPassed) All permissions correct! @else {{ $totalCount - $passedCount }} permission issue(s) @endif
{{ $passedCount }}/{{ $totalCount }} passed
@if (!$allPassed)

How to fix permission issues

Run these commands on your server:

chmod -R 755 storage bootstrap/cache
chown -R www-data:www-data storage bootstrap/cache

Then refresh this page to check again.

@endif
@endsection @section('footer')
Back @if ($allPassed) Next @else @endif
@endsection