@include('admin.message')

{{ __('Server Requirement') }}

@csrf @php $servercheck= array(); @endphp

@php $v = phpversion(); @endphp
{{ __('php extension') }} {{ __('Status') }}
{{ __('php version') }} ({{ $v }}) @if($v > 8.1) @php array_push($servercheck, 1); @endphp @else {{ __('php version required greater than 8.1') }} @php array_push($servercheck, 0); @endphp @endif
pdo @if (extension_loaded('pdo')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 0); @endphp @endif
{{ __('BCMath') }} @if (extension_loaded('BCMath')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 0); @endphp @endif
openssl @if (extension_loaded('openssl')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 0); @endphp @endif
{{ __('json') }} @if (extension_loaded('json')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 0); @endphp @endif
{{ __('session') }} @if (extension_loaded('session')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 0); @endphp @endif
{{ __('gd') }} @if (extension_loaded('gd')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 0); @endphp @endif
{{ __('allow_url_fopen') }} @if (ini_get('allow_url_fopen')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 0); @endphp @endif
{{ __('xml') }} @if (extension_loaded('xml')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 0); @endphp @endif
{{ __('tokenizer') }} @if (extension_loaded('tokenizer')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 0); @endphp @endif
{{ __('standard') }} @if (extension_loaded('standard')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 0); @endphp @endif
{{ __('mysqli') }} @if (extension_loaded('mysqli')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 0); @endphp @endif
{{ __('mbstring') }} @if (extension_loaded('mbstring')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 0); @endphp @endif
ctype @if (extension_loaded('ctype')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 0); @endphp @endif
{{ __('fileinfo') }} @if (extension_loaded('fileinfo')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 0); @endphp @endif
{{storage_path()}} {{ __('is writable?') }} @php $path = storage_path(); @endphp @if(is_writable($path)) @else @endif
{{base_path('bootstrap/cache')}} {{ __('is writable?') }} @php $path = base_path('bootstrap/cache'); @endphp @if(is_writable($path)) @else @endif
@if(!in_array(0, $servercheck)) @else

{{ __('Some extension are missing. Contact your host provider for enable it.') }}

@endif

©{{ date('Y') }} {{ __('| eClass - Learning Management System | Installer v1.1 |') }} {{ __('Media City') }}

{{ __('Server Check') }}
@yield('script-zone')