@extends('layouts.admin') @section('title',__('adminstaticwords.SystemStatus')) @section('content')

{{__('adminstaticwords.SystemStatus')}}

@php $results = DB::select( DB::raw('SHOW VARIABLES LIKE "%version%"') ); foreach ($results as $key => $result) { if($result->Variable_name == 'version' ){ $db_info[] = array( 'value' => $result->Value ); } if($result->Variable_name == 'version_comment' ){ $db_info[] = array( 'value' => $result->Value ); } } $servercheck= array(); @endphp
{{__('adminstaticwords.LaravelVersion')}} {{ App::version() }}

@foreach($db_info as $key => $info) @endforeach
{{__('adminstaticwords.MYSQLVersionInfo')}} {{__('adminstaticwords.Status')}}
{{ $key == 0 ? __('adminstaticwords.MYSQLVersion') : __('adminstaticwords.ServerType') }} {{ $info['value'] }} @if($key == 0 && $info['value'] < 5.7) @php array_push($servercheck, 0); @endphp @else @php array_push($servercheck, 1); @endphp @endif

@php $v = phpversion(); @endphp
{{ __('adminstaticwords.PHPExtensions') }} {{ __('adminstaticwords.Status') }}
{{ __('php version') }} ({{ $v }})
{{__('adminstaticwords.PHPVersionNote')}}
@if($v = 7.0 && $v < 7.5) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 1); @endphp
{{__('adminstaticwords.Yourphpversionis')}} {{ $v }}{{__('adminstaticwords.Whichisnotsupported')}} @endif
{{ __('adminstaticwords.pdo') }} @if (extension_loaded('pdo')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 1); @endphp @endif
{{ __('adminstaticwords.BCMath') }} @if (extension_loaded('BCMath')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 1); @endphp @endif
{{ __('adminstaticwords.openssl') }} @if (extension_loaded('openssl')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 1); @endphp @endif
{{ __('adminstaticwords.fileinfo') }} @if (extension_loaded('fileinfo')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 1); @endphp @endif
{{ __('adminstaticwords.json') }} @if (extension_loaded('json')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 1); @endphp @endif
{{ __('adminstaticwords.session') }} @if (extension_loaded('session')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 1); @endphp @endif
{{ __('adminstaticwords.gd') }} @if (extension_loaded('gd')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 1); @endphp @endif
{{ __('adminstaticwords.allow_url_fopen') }} @if (ini_get('allow_url_fopen')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 1); @endphp @endif
{{ __('adminstaticwords.xml') }} @if (extension_loaded('xml')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 1); @endphp @endif
{{ __('adminstaticwords.tokenizer') }} @if (extension_loaded('tokenizer')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 1); @endphp @endif
{{ __('standard') }} @if (extension_loaded('standard')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 1); @endphp @endif
{{ __('mysqli') }} @if (extension_loaded('mysqli')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 1); @endphp @endif
{{ __('adminstaticwords.mbstring') }} @if (extension_loaded('mbstring')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 1); @endphp @endif
{{ __('adminstaticwords.ctype') }} @if (extension_loaded('ctype')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 1); @endphp @endif
{{ __('adminstaticwords.exif') }} @if (extension_loaded('exif')) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 1); @endphp @endif
{{storage_path()}} {{ __('is writable') }}? @php $path = storage_path(); @endphp @if(is_writable($path)) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 1); @endphp @endif
{{base_path('bootstrap/cache')}} {{ __('is writable') }}? @php $path = base_path('bootstrap/cache'); @endphp @if(is_writable($path)) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 1); @endphp @endif
{{storage_path('framework/sessions')}} {{ __('is writable') }}? @php $path = storage_path('framework/sessions'); @endphp @if(is_writable($path)) @php array_push($servercheck, 1); @endphp @else @php array_push($servercheck, 1); @endphp @endif
@endsection @section('custom-script') @endsection