Here is what I have
XP Pro
Apache 2.0.36
MySQL 3.23.51
PHP 4.2.1
rrdtool 1.0.38
cacti 0.6.8
I can get apache up and running fine but when I make the edits to the httpd.conf file that are explained the in Cacti Installation (Windows) (www.raxnet.net/products/cacti/docs/INSTALL-WIN32.htm) #5. I get errors when I try to restart Apache. It tells me I have 2 errors. The line that states
LoadModule php4_module d:/networkmonitor/php/sapi/php4apache2.dll (I assume I should use the Apache2 version since that is the version I am running)
gives me an error until I change from the recommended / to \. If I make the line read
LoadModule php4_module d:\networkmonitor\php\sapi\php4apache2.dll
I don't get any errors, even though this goes against what the directions say.
The second error is with the line
AddModule mod_php4.c
The error is "The Apache service named reported the following error:
>>> Invalid command 'AddModule', perhaps mis-spelled or defined by a module not included in the server configuration "
Any help with this is greatly appreciated and I hope that I was not to verbose in my problem explination.
editing httpd.conf with cacti instructions breaks Apache
Moderators: Developers, Moderators
Your LoadModule call sounds ok. Don't touch it anymore.
As an example, mine is :
LoadModule php4_module modules/php4apache2.dll
... where php4apache2.dll have been copied into $SERVER_ROOT/modules/
Next, forget the "AddModule mod_php4.c" parameter. You don't need it anymore.
The only things you need to add is :
AddType application/x-httpd-php .php
in order to have php files passed to the PHP modules.
Hope this help.
Jeff
As an example, mine is :
LoadModule php4_module modules/php4apache2.dll
... where php4apache2.dll have been copied into $SERVER_ROOT/modules/
Next, forget the "AddModule mod_php4.c" parameter. You don't need it anymore.
The only things you need to add is :
AddType application/x-httpd-php .php
in order to have php files passed to the PHP modules.
Hope this help.
Jeff
-
- Cacti User
- Posts: 77
- Joined: Tue Jun 18, 2002 9:01 am
- Location: Alexandria, Virginia
- Contact:
thanks
I was able to get the thing up and running on XP with Apache. I have heard much talk about directions for Windows. Is anyone working on this or can I submit the process I went through for consideration? I will post this message in another group for consideration and suggestions.
Thanks Jeff
Thanks Jeff
Who is online
Users browsing this forum: No registered users and 3 guests