1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-18 23:42:25 +02:00

Update PHP min version to 7.1

This commit is contained in:
Hillel Coren 2021-02-19 10:20:45 +02:00
parent e61466cfd6
commit a7901412a0
4 changed files with 13 additions and 4 deletions

View File

@ -71,8 +71,8 @@ class StartupCheck
$file = storage_path() . '/version.txt';
$version = @file_get_contents($file);
if ($version != NINJA_VERSION) {
if (version_compare(phpversion(), '7.0.0', '<')) {
dd('Please update PHP to >= 7.0.0');
if (version_compare(phpversion(), '7.1.0', '<')) {
dd('Please update PHP to >= 7.1.0');
}
$handle = fopen($file, 'w');
fwrite($handle, NINJA_VERSION);

View File

@ -13,7 +13,7 @@
}
],
"require": {
"php": ">=7.0.0",
"php": ">=7.1.0",
"ext-gd": "*",
"ext-gmp": "*",
"anahkiasen/former": "4.*",
@ -158,6 +158,10 @@
{
"type": "vcs",
"url": "https://github.com/davidbankes/omnipay-firstdata.git"
},
{
"type": "vcs",
"url": "https://github.com/hillelcoren/omnipay-authorizenet"
}
]
}

View File

@ -3,7 +3,7 @@ Install
Thanks for taking the time to setup Invoice Ninja.
.. Note:: The applications requires PHP 7.0, 7.1 or 7.2 and MySQL.
.. Note:: The applications requires PHP 7.1 or 7.2 and MySQL.
Detailed Guides
^^^^^^^^^^^^^^^

View File

@ -28,6 +28,11 @@ A common error with shared hosting is "open_basedir restriction in effect", if y
.. TIP:: You can see the detailed changes for each release on our `GitHub release notes <https://github.com/invoiceninja/invoiceninja/releases>`_.
Version 5.4.33
"""""""""""
The minimum PHP version is now 7.1.0
Version 4.3
"""""""""""