Nagios apache web configuration

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Nagios apache web configuration

Post by jdalrymple »

It could very well be, did you install php? If so how did you do it?

Code: Select all

[jdalrymple@localhost ~] php -v
PHP 5.4.16 (cli) (built: Oct 31 2014 12:59:36)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
nagiosuser22
Posts: 7
Joined: Tue Feb 24, 2015 7:35 pm

Re: Nagios apache web configuration

Post by nagiosuser22 »

I think the issue may be that I don't have php installed on my system. The command:

rpm -qa | grep -i php

returns nothing. What rpm packages should I have installed for php?
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Nagios apache web configuration

Post by jdalrymple »

Code: Select all

yum install php
Should get you where you need to go.

You can also delete the .htaccess file we created.
nagiosuser22
Posts: 7
Joined: Tue Feb 24, 2015 7:35 pm

Re: Nagios apache web configuration

Post by nagiosuser22 »

Thank you! I finally got it to work. I now have the following php rpms installed:

# rpm -qa | grep php
php-5.3.3-26.el6.x86_64
php-cli-5.3.3-26.el6.x86_64
php-common-5.3.3-26.el6.x86_64
Locked