امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
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)...
Read more
<?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)...
Read more
