(SOLVED) Can not install Cacti

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
zetoo
Cacti User
Posts: 68
Joined: Wed Nov 23, 2016 2:42 am

(SOLVED) Can not install Cacti

Post by zetoo »

Currently, I had a problem regarding to Cacti and PHP with HTTP 500 Internal Server Error

I have installed :
MySQL 5.7.16
MySQL Workbench 6.3.8
PHP 5.5.33
Spine 0.8.8a
Net-SNMP 5.5.0-2
OpenSSL OpenSSL Light-1_0_2j
RRDTool 1.2.15-cygwin-1.5.20
VC++ 11 x64
VC++ 12 x64
Cacti 0.8.8f

Once all of that finished, I tried to install Cacti by connect to http://localhost/cacti (already extract cacti into C:inetpub/wwwroot) but HTTP 500 Internal Server Error appear.

EDIT : PHP SOLVED but Cacti still cant be installed.
Last edited by zetoo on Mon Dec 05, 2016 8:56 pm, edited 3 times in total.
zetoo
Cacti User
Posts: 68
Joined: Wed Nov 23, 2016 2:42 am

Re: (Help) Can not install Cacti

Post by zetoo »

Turn out, on php.ini

I forgot to remove semicolon (;). Now I need to log in into Cacti for installation but I got 500 HTTP Internal Server Error again. :o

My Cacti configuration :

$database_type = "mysql";
$database_dafault = "cacti";
$database_hostname = "localhost";
$database_username = "xxxx";
$database_password = "xxxx";
$database_port = "3306";
$database_ssl = false;

EDIT : $url_path = "/cacti/";
$cacti_session_name = "Cacti";

Cacti is extracted on C:\inetpub\wwwroot\Cacti.

Already tried to downgrade and upgrade both PHP and Cacti but still didnt work at all.
Last edited by zetoo on Mon Dec 05, 2016 8:52 pm, edited 1 time in total.
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: (Help) Can not install Cacti

Post by cigamit »

zetoo wrote:$url_path = "/cacti/"
You missed adding a semicolon after that.
zetoo
Cacti User
Posts: 68
Joined: Wed Nov 23, 2016 2:42 am

Re: (Help) Can not install Cacti

Post by zetoo »

cigamit wrote:
zetoo wrote:$url_path = "/cacti/"
You missed adding a semicolon after that.
sorry, already fixed it.
zetoo
Cacti User
Posts: 68
Joined: Wed Nov 23, 2016 2:42 am

Re: (Help) Can not install Cacti

Post by zetoo »

Turn out, I forgot to change two things:

- php.ini

delete semicolon (;) in front of extensions:

extension=php_curl.dll
extension=php_gd2.dll
extension=php_intl.dll
extension=php_ldap.dll
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_snmp.dll
extension=php_sockets.dll

- config.php (inetpub/wwwroot/cacti/include/config.php)

$database_hostname = "127.0.0.1";

Sorry newbie mistakes :lol:
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests