PHP compatibility

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

PHP compatibility

Post by WillemDH »

What is the maximum supported PHP version for Nagios XI? As I keep getting complaints from Qualys about my current PHP version, which is 5.4.16-36.el7_1 I was looking to upgrade, but I fear my test Nagios XI will stop working properly? Or has this been tested yet?

I would like to upgrade to PHP 7 using this procedure:
https://www.digitalocean.com/community/ ... n-centos-7

https://secure.php.net/manual/en/migration70.php

if PHP 7 is an issue, what about 5.6.11+?

Thanks for any info on this topic.
Nagios XI 5.8.1
https://outsideit.net
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: PHP compatibility

Post by rkennedy »

I spoke with the developers and they informed me that PHP7 won't work for a bit due to SourceGuardian.

At this time, Debian / Ubuntu should work with 5.6 and lower. As for CentOS / RHEL it's at 5.3 and lower.
Former Nagios Employee
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: PHP compatibility

Post by WillemDH »

As for CentOS / RHEL it's at 5.3 and lower.
Weird, as I'm on CentOS 7 on my test server and it seems I'm on 5.4.16. Eveyrhting seems to work fine.
Nagios XI 5.8.1
https://outsideit.net
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: PHP compatibility

Post by rkennedy »

While it may work, I don't believe it's been fully tested.

After looking at the deprecated functions as well, it does not look like much changed in 5.3 -> 5.4, so this may be why you aren't seeing any issues.
http://php.net/manual/en/migration54.deprecated.php
Former Nagios Employee
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: PHP compatibility

Post by WillemDH »

Thanks for the info, you can close this thread.
Nagios XI 5.8.1
https://outsideit.net
Locked