Skip to content

update for php8.2

Latest
Compare
Choose a tag to compare
@celane celane released this 19 Aug 01:14
· 4 commits to master since this release

php8.2 started throwing "deprecated" warnings that keep pnp4nagios from working properly. This release aims to update php code to remove deprecated features. Primarily:
define class variables (no auto-create)
make sure variables are arrays if using them as arrays
change utf8_encode to mb_string

Also, added systemd "plugin" for httpd to define XDG_CACHE_HOME to /var/cache/httpd, needed for fontconfig (needed for rrdgraph). Previously had a "setenv()", but it sometimes failed.