Here is a possible solution.
Find (line #1249):
And replace it with:
This will correct the issue with the subversion numbers with 8.2.xx as it was limited to 8.2.00 for some reason. This has NOT yet been published, this will be applied in the next version.
Thank you for your report.
-Krillin
Find (line #1249):
Code Select
function Fff0125cs()
{
if (php_sapi_name() === 'cli') {
if (!defined('PHP_VERSION_ID') || (PHP_VERSION_ID < 70400 || PHP_VERSION_ID >= 80200)) {
echo "Error: VSP requires PHP Version 7.4 to 8.2 to run.\n";
echo " - Your version is: \"" . PHP_VERSION . "\"\n";
echo " - Please upgrade your PHP installation.\n";
echo " - Thank You!";
F4e6F902f();
exit;
} else {
echo "\nYour PHP Installation Will Work With VSP!\n";
}
}
And replace it with:
Code Select
function Fff0125cs()
{
if (php_sapi_name() === 'cli') {
if (!defined('PHP_VERSION_ID')) {
// Fallback if PHP_VERSION_ID is not defined
$version = explode('.', PHP_VERSION);
$versionId = ($version[0] * 10000) + ($version[1] * 100) + ($version[2]);
} else {
$versionId = PHP_VERSION_ID;
}
if ($versionId < 70400 || $versionId >= 80300) {
echo "Error: VSP requires PHP Version 7.4 to 8.2.xx to run.\n";
echo " - Your version is: \"" . PHP_VERSION . "\"\n";
echo " - Please upgrade your PHP installation.\n";
echo " - Thank You!\n";
F4e6F902f();
exit;
} else {
echo "\nYour PHP Installation Will Work With VSP!\n";
}
}
}
This will correct the issue with the subversion numbers with 8.2.xx as it was limited to 8.2.00 for some reason. This has NOT yet been published, this will be applied in the next version.
Thank you for your report.
-Krillin