@php $str = Str::random(21); session()->put('hash_token', $str); $php_version_success = false; $mysql_success = false; $curl_success = false; $gd_success = false; $allow_url_fopen_success = false; $timezone_success = true; $php_version_required_min = '8.1.0'; $php_version_required_max = '8.3.9'; $current_php_version = phpversion(); //check required php version if ( floatval($current_php_version) >= floatval($php_version_required_min) && floatval($current_php_version) < $php_version_required_max ): $php_version_success = true; endif; //check mySql if (function_exists('mysqli_connect')): $mysql_success = true; endif; //check curl if (function_exists('curl_version')): $curl_success = true; endif; //check gd if (extension_loaded('gd') && function_exists('gd_info')): $gd_success = true; endif; //check allow_url_fopen if (ini_get('allow_url_fopen')): $allow_url_fopen_success = true; endif; //check allow_url_fopen $timezone_settings = ini_get('date.timezone'); if ($timezone_settings): $timezone_success = true; endif; //check if all requirement is success if ($php_version_success && $mysql_success && $curl_success && $gd_success && $allow_url_fopen_success): $all_requirement_success = true; else: $all_requirement_success = false; endif; $basePath = base_path(); $writeable_directories = [ $basePath . '/app', $basePath . '/config', $basePath . '/routes', $basePath . '/resources', $basePath . '/public', $basePath . '/storage', $basePath . '/.env', $basePath . '/bootstrap/cache', ]; foreach ($writeable_directories as $value): if (!is_writeable($value)): $all_requirement_success = false; endif; endforeach; @endphp
1. Please configure your PHP settings to match following requirements:
| PHP Settings | Current Version | Required Version | Status |
|---|---|---|---|
| PHP Version | 8.3.33 | Warning: Undefined variable $php_version_required_min in /home/ramassof/w4.ramas.dev/resources/views/install/index.blade.php on line 151 or Later |
Warning: Undefined variable $php_version_success in /home/ramassof/w4.ramas.dev/resources/views/install/index.blade.php on line 155 |
2. Please make sure the extensions/settings listed below are installed/enabled:
| Extension/settings | Current Settings | Required Settings | Status |
|---|---|---|---|
| MySQLi | @if ($mysql_success) On @else Off @endif | On | @if ($mysql_success) @else @endif |
| GD | @if ($gd_success) On @else Off @endif | On | @if ($gd_success) @else @endif |
| cURL | @if ($curl_success) On @else Off @endif | On | @if ($curl_success) @else @endif |
| allow_url_fopen | @if ($allow_url_fopen_success) On @else Off @endif | On | @if ($allow_url_fopen_success) @else @endif |
| zip | @if (extension_loaded('zip')) On @else Off @endif | On | @if (extension_loaded('zip')) @else @endif |
| zlip | @if (extension_loaded('zlib')) On @else Off @endif | On | @if (extension_loaded('zlib')) @else @endif |
| OpenSSL PHP Extension | @if (OPENSSL_VERSION_NUMBER < 0x009080bf) @php $all_requirement_success = false; @endphp Off @else On @endif | On | @if (OPENSSL_VERSION_NUMBER < 0x009080bf) @else @endif |
| PDO PHP Extension | @if (PDO::getAvailableDrivers()) On @else @php $all_requirement_success = false; @endphp Off @endif | On | @if (PDO::getAvailableDrivers()) @else @endif |
| BCMath PHP Extension | @if (extension_loaded('bcmath')) On @else @php $all_requirement_success = false; @endphp Off @endif | On | @if (extension_loaded('bcmath')) @else @endif |
| Ctype PHP Extension | @if (extension_loaded('ctype')) On @else @php $all_requirement_success = false; @endphp Off @endif | On | @if (extension_loaded('ctype')) @else @endif |
| Fileinfo PHP Extension | @if (extension_loaded('fileinfo')) On @else @php $all_requirement_success = false; @endphp Off @endif | On | @if (extension_loaded('fileinfo')) @else @endif |
| Mbstring PHP Extension | @if (extension_loaded('mbstring')) On @else @php $all_requirement_success = false; @endphp Off @endif | On | @if (extension_loaded('mbstring')) @else @endif |
| Tokenizer PHP Extension | @if (extension_loaded('tokenizer')) On @else @php $all_requirement_success = false; @endphp Off @endif | On | @if (extension_loaded('tokenizer')) @else @endif |
| XML PHP Extension | @if (extension_loaded('xml')) On @else @php $all_requirement_success = false; @endphp Off @endif | On | @if (extension_loaded('xml')) @else @endif |
| JSON PHP Extension | @if (extension_loaded('json')) On @else @php $all_requirement_success = false; @endphp Off @endif | On | @if (extension_loaded('json')) @else @endif |
| PHP ZipArchive Class | @if (class_exists('ZipArchive')) On @else @php $all_requirement_success = false; @endphp Off @endif | On |
3. Please make sure you have set the writable permission on the following folders/files: