0% found this document useful (0 votes)
26 views3 pages

Configure Apache for PHP and Cacti

This document provides instructions for installing and configuring Cacti on a Windows server running XAMPP. It describes editing the Apache configuration file to load the PHP module and set the PHP file type, verifying file paths in the Cacti settings, and accessing the Cacti installation wizard at http://localhost/cacti/install/ after starting the XAMPP services.

Uploaded by

Thinh Tran Van
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views3 pages

Configure Apache for PHP and Cacti

This document provides instructions for installing and configuring Cacti on a Windows server running XAMPP. It describes editing the Apache configuration file to load the PHP module and set the PHP file type, verifying file paths in the Cacti settings, and accessing the Cacti installation wizard at http://localhost/cacti/install/ after starting the XAMPP services.

Uploaded by

Thinh Tran Van
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

https://www.computersnyou.

com/266/how-to-solve-vmware-is-using-port-443/

http://www.php-tutorials.info/installPHP.php

Editing Apache configuration


Using text editor open C:\<APACHE_INSTALLATION_FOLDER>\conf\httpd.conf (in the startmenu there should also be a Edit the Apache HTTP Server httpd.conf Configuration
File shortcut) and add the following lines to the end of file:
LoadModule php5_module c:\php\php5apache2.dll
AddType application/x-httpd-php .php
DirectoryIndex index.html index.htm index.php

--> fix
LoadModule php5_module C:\xampp\php\php5apache2_4.dll
AddType application/x-httpd-php .php
DirectoryIndex index.html index.htm index.php

Root / abc.12345
Cactiuser /abc.12345

1. Point your web browser to:


http://your-server/cacti/

Log in using the username and password of admin/admin. You will be required to change
this password immediately.
2. From Cacti, go to Settings->Paths and verify/udate your paths to point to the correct
locations. Recommended examples are posted below. If you plan on using Spine, then it
is very important that all paths include forward slashes instead of backslashes.
PHP Binary Path:
c:/php/php.exe

RRDTool Binary Path:


c:/cacti/rrdtool.exe

//////////////
http://localhost/cacti/install/

C:\xampp\htdocs\cacti\RRDtool\doc\rrdtool-1.3.8\doc\rrdtool.exe
C:\xampp\php\php.exe

You might also like