@extends('admin.layouts.app') @section('main_content')

{{translate($title)}}

{{translate('Server information')}}
{{ translate('Name') }} {{ translate('Value') }}
{{translate("Php versions")}} {{ phpversion() }}
{{translate("Larvel versions")}} {{Arr::get($systemInfo,'laravel_version')}}
{{translate("Http host")}} {{Arr::get($systemInfo['server_detail'],'HTTP_HOST')}}
{{ translate('php.ini Config') }}
{{ translate('Config Name') }} {{ translate('Current') }} {{ translate('Recommended') }} {{ translate('Status') }}
{{translate("File uploads")}} @if(ini_get('file_uploads') == 1) {{translate("On")}} @else {{translate("Off")}} @endif {{translate("On")}} @if (ini_get('file_uploads') == 1) @else @endif
{{translate("Max File Uploads")}} {{ ini_get('max_file_uploads') }} 20+ @if (ini_get('max_file_uploads') >= 20) @else @endif
{{translate("Allow url Fopen")}} @if(ini_get('allow_url_fopen') == 1) {{translate("On")}} @else {{translate("Off")}} @endif {{translate("On")}} @if (ini_get('allow_url_fopen') == 1) @else @endif
{{translate("Max Execution time")}} @if(ini_get('max_execution_time') == '-1') {{translate("Unlimited")}} @else {{ ini_get('max_execution_time') }} @endif 600+ @if (ini_get('max_execution_time') == -1 || ini_get('max_execution_time') >= 600) @else @endif
{{translate("Max Input time")}} @if(ini_get('max_input_time') == '-1') {{translate("Unlimited")}} @else {{ ini_get('max_input_time') }} @endif 120+ @if (ini_get('max_input_time') == -1 || ini_get('max_input_time') >= 120) @else @endif
{{translate("Max Input vars")}} {{ ini_get('max_input_vars') }} 1000+ @if (ini_get('max_input_vars') >= 1000) @else @endif
{{translate("Memory limit")}} @if(ini_get('memory_limit') == '-1') {{translate("Unlimited")}} @else {{ ini_get('memory_limit') }} @endif 256M+ @php $memory_limit = ini_get('memory_limit'); if (preg_match('/^(\d+)(.)$/', $memory_limit, $matches)) { if ($matches[2] == 'G') { $memory_limit = $matches[1] * 1024 * 1024 * 1024; } else if ($matches[2] == 'M') { $memory_limit = $matches[1] * 1024 * 1024; } else if ($matches[2] == 'K') { $memory_limit = $matches[1] * 1024; } } @endphp @if (ini_get('memory_limit') == -1 || $memory_limit >= (256 * 1024 * 1024)) @else @endif
{{translate('Extensions')}}
@php $loadedExtensions = get_loaded_extensions(); $requiredExtensions = Arr::get(config("installer.requirements"),'php',[]); @endphp @foreach ($requiredExtensions as $extension) @endforeach
{{ translate('Extension Name') }} {{ translate('Status') }}
{{ $extension }} @if(in_array($extension, $loadedExtensions)) @else @endif
{{ translate('File & Folder Permissions') }}
@php $requiredPermissions = array_keys(config("installer.permissions")); @endphp @foreach ($requiredPermissions as $filePath) @endforeach
{{ translate('File or Folder') }} {{ translate('Status') }}
{{ $filePath }} @if(is_writable(base_path($filePath))) @else @endif
@endsection