Private GIT

Skip to content
Snippets Groups Projects
Unverified Commit 642f1038 authored by Gary Allan's avatar Gary Allan
Browse files

Feature: Update mimimum PHP version to 7.2 (RHEL 8+/20.04LTS+)

parent e7538713
Branches
No related tags found
No related merge requests found
...@@ -15,7 +15,8 @@ to be able to display javascript quickly and correctly. ...@@ -15,7 +15,8 @@ to be able to display javascript quickly and correctly.
## Branches ## Branches
- MASTER: Current development release - MASTER: Current development release
- 1.5: Productional branch for 1.5.x release - 1.6: Productional branch for 1.6.x release
- 1.5: Productional branch for 1.5.x release (obsolete)
- 1.4: Productional branch for 1.4.x release (obsolete) - 1.4: Productional branch for 1.4.x release (obsolete)
- 1.3: Productional branch for 1.3.x release (obsolete) - 1.3: Productional branch for 1.3.x release (obsolete)
- 1.2: Productional branch for 1.2.x release (obsolete) - 1.2: Productional branch for 1.2.x release (obsolete)
...@@ -26,7 +27,8 @@ to be able to display javascript quickly and correctly. ...@@ -26,7 +27,8 @@ to be able to display javascript quickly and correctly.
phpIPAM has been developed and tested on the following PHP versions.\ phpIPAM has been developed and tested on the following PHP versions.\
The use of untested PHP versions is unsupported and may result in compatibility issues. The use of untested PHP versions is unsupported and may result in compatibility issues.
- MASTER: PHP versions 5.4 to 8.1 (8.x support work-in-progress) - MASTER: PHP versions 7.2 to 8.3
- 1.6.x: PHP versions 7.2 to 8.3
- 1.5.x: PHP versions 5.4 to 7.4 - 1.5.x: PHP versions 5.4 to 7.4
- 1.4.x: PHP versions 5.4 to 7.4 - 1.4.x: PHP versions 5.4 to 7.4
- 1.3.x: PHP versions 5.4 to 7.1 - 1.3.x: PHP versions 5.4 to 7.1
......
...@@ -12,10 +12,10 @@ $requiredExt = array("session", "sockets", "filter", "openssl", "gmp", "json", ...@@ -12,10 +12,10 @@ $requiredExt = array("session", "sockets", "filter", "openssl", "gmp", "json",
$requiredFns = array("simplexml_load_string"); $requiredFns = array("simplexml_load_string");
if(!defined('PHPIPAM_PHP_MIN')) if(!defined('PHPIPAM_PHP_MIN'))
define('PHPIPAM_PHP_MIN', "5.4"); define('PHPIPAM_PHP_MIN', "7.2");
if(!defined('PHPIPAM_PHP_UNTESTED')) if(!defined('PHPIPAM_PHP_UNTESTED'))
define('PHPIPAM_PHP_UNTESTED', "9.0"); // PHP 8.2 or greater is untested & unsupported define('PHPIPAM_PHP_UNTESTED', "8.4"); // PHP 8.4 or greater is untested, use at own risk and expect issues
if (phpversion() >= PHPIPAM_PHP_UNTESTED) { if (phpversion() >= PHPIPAM_PHP_UNTESTED) {
$_SESSION['footer_warnings']['php_version'] = _('Unsupported PHP version ') . phpversion(); $_SESSION['footer_warnings']['php_version'] = _('Unsupported PHP version ') . phpversion();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment