diff --git a/index.php b/index.php index a99d4a8..c78f9cc 100644 --- a/index.php +++ b/index.php @@ -1,32 +1,32 @@ You need to use PHP >= 7.0.0
"; - echo "CPanel EasyApache4 install PHP 7
"; +$osType = PHP_OS; +if (version_compare(PHP_VERSION, '8.0', '<')) { + echo "Your server needs to run PHP version 8.0.0 or higher.
"; + + if (stripos($osType, 'win') !== false) { + // Windows OS + echo "For Windows, you can download PHP from:
"; + echo "For Linux, you can follow these guides to install PHP:
"; + echo "