Page 1 of 1

Nagios /Apache start error

Posted: Sat Apr 09, 2011 12:30 pm
by CraigN
Hi
Am reposting with a better description
I installed per the Nagios/Ubuntu guide and all went well except after following procedure, instead of getting my Web interface with nagios, i got a prompt to download a file!! "application/x-httpd-php" file to be downloaded...
Im checking the apache side as that is probably the culprit but wanted to post this again in case anybody has seen this and resolved.

thanks
craig

Re: Nagios /Apache start error

Posted: Sat Apr 09, 2011 6:41 pm
by tonyyarusso
You may not have the PHP module loaded. Trying issuing:

Code: Select all

sudo a2enmod php5
sudo service apache2 reload
(And yes, I know that the Ubuntu Quickstart guide is awful - it's on my to-do list. :P )

Re: Nagios /Apache start error

Posted: Sat Apr 09, 2011 9:22 pm
by CraigN
Thanks
I s/h thought of that myself
If you just append
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
to the the how-to it would be perfect!
Craig