[afnog] [AFNOG] Nagios problem

Makan SIMAGA msimaga at bvg-mali.org
Wed Jul 18 16:25:10 UTC 2007


Hi Liliane,

 

Verify if the module is loaded before.

You must have a line like that :

 

LoadModule php4_module modules/libphp4.so 

 

for php4 module

 

Makan SIMAGA

 

 

  _____  

De : afnog-bounces at afnog.org [mailto:afnog-bounces at afnog.org] De la part de
Liliane UMUTESI
Envoyé : mercredi 18 juillet 2007 15:49
À : afnog at afnog.org
Objet : [afnog] [AFNOG] Nagios problem

 

Hi all,

 

I need help,

I installed Nagios 2.9 on Ubuntu 7.04 Server, when I tried to run apache

with /etc/init.d/apache2 restart I get this error :


 * Forcing reload of web server (apache2)...
Syntax error on line 2 of /etc/apache2/mods-enabled/php5.conf:
Invalid command 'AddType', perhaps misspelled or defined by a module not
included in the server configuration
   ...fail!
This is the content of /etc/apache2/mods-enabled/php5.conf file :

 

<IfModule mod_php5.c>
  AddType application/x-httpd-php .php .phtml .php3
  AddType application/x-httpd-php-source .phps
</IfModule>

Please someone can help me to correct the error?

Your idea is most welcome.

 

UMUTESI Liliane

National University of Rwanda

Network Manager

  

  _____  

Ne gardez plus qu'une seule adresse mail ! Copiez vos mails
<http://www.trueswitch.com/yahoo-fr/>  vers Yahoo! Mail 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://afnog.org/pipermail/afnog/attachments/20070718/baa233f1/attachment.html 


More information about the afnog mailing list