mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Core/PHP
* bump version requirements to v8.0
This commit is contained in:
@@ -18,7 +18,7 @@ Also, this project is not meant to be used for commercial puposes of any kind!
|
|||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
+ Webserver running PHP ≥ 7.4 — 8.0 including extensions:
|
+ Webserver running PHP ≥ 8.0 including extensions:
|
||||||
+ [SimpleXML](https://www.php.net/manual/en/book.simplexml.php)
|
+ [SimpleXML](https://www.php.net/manual/en/book.simplexml.php)
|
||||||
+ [GD](https://www.php.net/manual/en/book.image)
|
+ [GD](https://www.php.net/manual/en/book.image)
|
||||||
+ [MySQL Improved](https://www.php.net/manual/en/book.mysqli.php)
|
+ [MySQL Improved](https://www.php.net/manual/en/book.mysqli.php)
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ foreach ($reqExt as $r)
|
|||||||
if (!extension_loaded($r))
|
if (!extension_loaded($r))
|
||||||
$error .= 'Required Extension <b>'.$r."</b> was not found. Please check if it should exist, using \"<i>php -m</i>\"\n\n";
|
$error .= 'Required Extension <b>'.$r."</b> was not found. Please check if it should exist, using \"<i>php -m</i>\"\n\n";
|
||||||
|
|
||||||
if (version_compare(PHP_VERSION, '7.4.0') < 0)
|
if (version_compare(PHP_VERSION, '8.0.0') < 0)
|
||||||
$error .= 'PHP Version <b>7.4</b> or higher required! Your version is <b>'.PHP_VERSION."</b>.\nCore functions are unavailable!\n";
|
$error .= 'PHP Version <b>8.0</b> or higher required! Your version is <b>'.PHP_VERSION."</b>.\nCore functions are unavailable!\n";
|
||||||
|
|
||||||
if ($error)
|
if ($error)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user