Description
I'm upgrading from 23.4.12651 to 23.6.12860. I run 'svn update' in /opt/observium. When I try to run 'discovery -u' I get the following:
Updated to revision 12863.
root@observium1:/opt/observium# ./discovery.php -u
PHP Parse error: syntax error, unexpected '=' in /opt/observium/includes/observium.inc.php on line 427
This is running on:
PRETTY_NAME="Ubuntu 18.04.6 LTS"
Please let me know if you need to see any logs or anything else.
Attachments
Issue Links
- duplicates
-
OBS-4531 PHP Parse error: syntax error, unexpected '=' in /opt/observium/includes/observium.inc.php on line 427
-
- Resolved
-
You should upgrade your php version to 7.2 or greater.
Mail list and Discord announcement:
Our latest STABLE merge will permanently break compatibility with PHP versions below
7.1.x. Our official minimum is 7.2 (though we strongly recommend 7.4 or 8.1).
Please make sure you're compatible before you next update! :)
We're not yet sure when our minimum will switch to 8.1, but if you can,
we'd recommend upgrading to that. Upgrading on most distributions from
the past 8 or so years is not too difficult, but if you're on very old distributions,
we might recommend upgrading the entire distro.
Newer rrdtool and MySQL is a benefit too.