@extends('install.layout') @section('title', 'Requirements') @section('step-name', 'Requirements') @section('content') @php $extPassed = count(array_filter($extensions)); $extTotal = count($extensions); $dirPassed = count(array_filter($directories)); $dirTotal = count($directories); @endphp
Step 2 of 8

Server requirements.

We're checking the host meets the minimum bar before installing.

{{-- PHP version banner --}} @if ($phpOk)
PHP {{ $phpVersion }} — meets the 8.2+ requirement
@else
PHP {{ $phpVersion }} — WaDesk needs 8.2 or newer.
@endif {{-- Two columns: extensions on the left, directories + PDO on the right. Keeps the whole check on one screen — no scroll. --}}
PHP extensions {{ $extPassed }}/{{ $extTotal }}
@foreach ($extensions as $name => $loaded)
{{ $name }} @if ($loaded) @else @endif
@endforeach
Directories {{ $dirPassed }}/{{ $dirTotal }}
@foreach ($directories as $path => $writable)
{{ $path }} @if ($writable) @else @endif
@endforeach
PDO drivers
@forelse ($pdoDrivers as $driver)
{{ $driver }}
@empty
No PDO drivers detected.
@endforelse @if (!$hasPdoDriver)
MySQL driver is required.
@endif
{{-- Navigation --}} @if ($allPassed)
Back
@csrf
@else
Fix the items marked in coral before continuing. The Continue button stays disabled until everything passes.
Back
@endif
@endsection