Page 1 of 1

Nagios Core 3 with PHP 5.1

Posted: Fri Feb 15, 2013 7:31 am
by heinrichxx
Hello
I need some help. Is it possible to install nagios core 3 with php 5.1.
If yes, how do I configure nagios or php?
Thank you for your help
heinrichxx

Re: Nagios Core 3 with PHP 5.1

Posted: Fri Feb 15, 2013 10:23 am
by slansing
Is Nagios Core 3 your only option? Assuming this is on Ubuntu, we now have a guide on installing from source. Do you have to have 5.1 or can you use a newer version of php?

The document is here: http://assets.nagios.com/downloads/nagi ... Source.pdf

Re: Nagios Core 3 with PHP 5.1

Posted: Fri Feb 15, 2013 3:13 pm
by heinrichxx
Hello Slansing
Nagios will be installed on rhel. Yes I need to install it with php 5.1.
Question is also the depency with gd 1.6.3 Is this all configurable.
Regards
Juan

Re: Nagios Core 3 with PHP 5.1

Posted: Fri Feb 15, 2013 4:25 pm
by slansing
You can install Nagios XI to a RHEL 5 based system with no problems. By default they will not come with 5.3.x installed. Almost 100% of our code is written to the lowest package supported so you should be fine running under 5.1. The same goes with GD, which I assume is Gnome Desktop?

Re: Nagios Core 3 with PHP 5.1

Posted: Fri Feb 15, 2013 5:59 pm
by heinrichxx
Hi Slansing

I want to install nagios core 3.x on rhel and not nagios XI. Does it still work with php 5.1.
According to Nagios requirements http://nagios.sourceforge.net/docs/3_0/about.htm
Thomas Boutell's gd library version 1.6.3 or higher (required by the statusmap and trends CGIs)
is needed.

Does it work with php 5.1.

Thank you and have a nice weekend.

Regards

Juan

Re: Nagios Core 3 with PHP 5.1

Posted: Mon Feb 18, 2013 10:12 am
by slansing
Sorry, Friday got to me.. Yes you should be fine using PHP 5.1 within core as well. I am not sure about the "gd lib." You could try it, and then upgrade it if necessary, you should not hurt anything in the process.

Re: Nagios Core 3 with PHP 5.1

Posted: Tue Feb 19, 2013 3:44 am
by heinrichxx
Hi Slansing
Thank you very much. Great. Have a nice day
Heinrichxx