We’re nearly 1 year on from the last minimum PHP version bump we did. At the end of last year, PHP themselves dropped support for PHP 5.6 and 7.0 and we’ve decided that we should follow. We should be doing what we can to ensure user installs are secure and this is one step we can take to help with that.
PHP 7.1 was released just over 2 years ago so is mature and stable enough. Some of the big distros don’t package this version by default so you may have to use a 3rd party repo to remain up to date. Our current install docs for CentOS 7 and Ubuntu 18.04 contain instructions on using a newer version of PHP.
On the 1st of Feb 2019, we will merge in support for validating the PHP version users are running, if this is below 7.1.3 then we will automatically move your install to a new branch php56
. At this stage your install will no longer have any further updates applied to it until you upgrade PHP to 7.1.3 or later (7.2 is recommended).
Switching to 7.1.3 or above will allow LibreNMS to support PHP 7.3 and also give us the ability to upgrade some of the modules we use along with Laravel itself so we can continue our migration to using Laravel in full.
To clarify, at no stage during this will LibreNMS cease to work for you regardless of the PHP version you run. It just means you main not receive any further updates unless you are running a more recent version of PHP.