' . PHP_CHECK_1 . '
'; echo '' . PHP_CHECK_2. '
'; $check_php = true; $rewrite = 'none'; ?>
PHP version >= 7.2.0 No' : 'Yes';?>
  - MySQL support Available' : 'Unavailable';?>
  - GD support Available' : 'Unavailable';?>
  - cURL support Available' : 'Unavailable';?>
  - OpenSSL support Available' : 'Unavailable';?>
  - zlib compression support Available' : 'Unavailable';?>
  - XML support Available' : 'Unavailable';?>
Session save path , Writeable' : 'Unwriteable';?>


Directive Recommended Actual
Safe Mode: OFF
Display Errors: OFF
File Uploads: ON
Register Globals: OFF
Output Buffering: OFF
Session auto start: OFF
' . PHP_CHECK_12 . '
'; echo '' . PHP_CHECK_13 . '
'; $check_php = false; } elseif (!function_exists('imagecreatetruecolor')) { echo '
' . PHP_CHECK_14 . '
'; echo '' . PHP_CHECK_15 . '
'; } if (!isset($_SERVER['PHP_SELF'])) { echo '
' . PHP_CHECK_16 . '
'; echo '' . PHP_CHECK_17 . '

'; $check_php = false; } if (!$fp) { echo '
'; printf(HTACCESS_ERROR, 'chmod go+rwx ' . $oos_core . '' ); // $check_php = false; } else { fwrite($fp, 'ErrorDocument 404 ' . $oos_root . 'index.php'); fclose($fp); // Do a request on a nonexistant file to see, if our htaccess allows ErrorDocument $sock = @fsockopen($oos_host, $_SERVER['SERVER_PORT'], $errorno, $errorstring, 10); $response = ''; if ($sock) { fputs($sock, "GET {$oos_root}nonexistant HTTP/1.0\r\n"); fputs($sock, "Host: $oos_host\r\n"); fputs($sock, "User-Agent: OOS[OSIS Online Shop]/{OOS_VERSION}\r\n"); fputs($sock, "Connection: close\r\n\r\n"); while (!feof($sock) && strlen($response) < 4096) { $response .= fgets($sock, 400); } fclose($sock); } if (preg_match('@^HTTP/\d\.\d 200@', $response)) { $rewrite = 'errordocs'; } if (!empty($old_htaccess)) { $fp = @fopen($oos_core . '.htaccess', 'w'); fwrite($fp, $old_htaccess); fclose($fp); } else { @unlink($oos_core . '.htaccess'); } } echo '

' . CHMOD_CHECK_1 . '

'; echo '' . CHMOD_CHECK_2. ''; $file = '../includes/configure.php'; if (is_writable($file)){ echo '

 ' . CHMOD_CHECK_3 . '
'; } else { echo '

 ' . CHMOD_CHECK_4 . '
'; $check_php = false; } if ($check_php == true) { echo '

' . PHP_CHECK_OK . '
'; echo '

'; echo ''; echo ''; echo ''; echo '

'; } else { echo '

'; echo ''; echo ''; echo ''; echo '

'; } } function oosGetPHPSetting($val) { $r = (ini_get($val) == '1' ? 1 : 0); return $r ? 'ON' : 'OFF'; }