mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Update PHP min version to 7.1
This commit is contained in:
parent
9a5e429942
commit
e72d8ecfa2
@ -72,8 +72,8 @@ class StartupCheck
|
|||||||
$file = storage_path() . '/version.txt';
|
$file = storage_path() . '/version.txt';
|
||||||
$version = @file_get_contents($file);
|
$version = @file_get_contents($file);
|
||||||
if ($version != NINJA_VERSION) {
|
if ($version != NINJA_VERSION) {
|
||||||
if (version_compare(phpversion(), '7.0.0', '<')) {
|
if (version_compare(phpversion(), '7.1.0', '<')) {
|
||||||
dd('Please update PHP to >= 7.0.0');
|
dd('Please update PHP to >= 7.1.0');
|
||||||
}
|
}
|
||||||
$handle = fopen($file, 'w');
|
$handle = fopen($file, 'w');
|
||||||
fwrite($handle, NINJA_VERSION);
|
fwrite($handle, NINJA_VERSION);
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=7.0.0",
|
"php": ">=7.1.0",
|
||||||
"ext-gd": "*",
|
"ext-gd": "*",
|
||||||
"ext-gmp": "*",
|
"ext-gmp": "*",
|
||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
@ -186,7 +186,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "vcs",
|
"type": "vcs",
|
||||||
"url": "https://github.com/hillelcoren/omnipay-authorizenet"
|
"url": "https://github.com/hillelcoren/omnipay-authorizenet"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@ Install
|
|||||||
|
|
||||||
Thanks for taking the time to setup Invoice Ninja.
|
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
|
Detailed Guides
|
||||||
^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^
|
||||||
|
@ -30,6 +30,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>`_.
|
.. 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
|
Version 4.3
|
||||||
"""""""""""
|
"""""""""""
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user