chaptertwo
New member
On a new UBUNTU install on a hyperv VM, accessing http://localhost/community/install/ reports PHP needs to be greater than 7.0.0 but I am on v 8.3.0
<?php
$phpVersion = phpversion();
if (version_compare($phpVersion, '7.0.0', '<'))
{
die("PHP 7.0.0 or newer is required. $phpVersion does not meet this requirement. Please ask your host to upgrade PHP.");
}
$rootDir = realpath(DIR . '/..');
chdir($rootDir);
require($rootDir . '/src/XF.php');
XF::start($rootDir);
XF::runApp('XF\Install\App');
<?php
$phpVersion = phpversion();
if (version_compare($phpVersion, '7.0.0', '<'))
{
die("PHP 7.0.0 or newer is required. $phpVersion does not meet this requirement. Please ask your host to upgrade PHP.");
}
$rootDir = realpath(DIR . '/..');
chdir($rootDir);
require($rootDir . '/src/XF.php');
XF::start($rootDir);
XF::runApp('XF\Install\App');