I'm setting up an (IDS) intrusion detection system, which consists of a WIN 4.0 workstation, Apache 1.3.20 for WIN32, PHP 4.0.6 for Windows, and ACID (Analysis Console for Intrusion Detection)v.0.9.6b6.
The problem I'm having is a parse error, and being new to PHP I can't figure out what's causing the problem. Here's a copy of the error message that's displayer in my browser, "Parse error: parse error in c:\apache\htdocs\acid\acid_conf.php on line 6" Invalid Database Type Specified
The variable $DBtype in acid_conf.php was set to the unrecognized database type of ''. Only the following databases are supported:
MySQL : 'mysql'
PostgreSQL : 'postgres'
Here's a copy of a portion of the file "acid_conf.php"
<?php
$ACID_VERSION = "0.9.6b6";
/ Path to the DB abstraction library /
$DBlib_path = C:\Snort\ADODB";
/* The type of underlying alert database
MySQL : "mysql"
PostgresSQL : "postgres"
*/
$DBtype = "mysql";
/* Alert DB connection parameters
- $alert_dbname : MySQL database name of Snort alert DB
- $alert_host : host on which the DB is stored
- $alert_port : port on which to access the DB
- $alert_user : login to the database with this user
- $alert_password : password of the DB user
This information can be gleaned from the Snort database
output plugin configuration.
*/
$alert_dbname = "snort";
$alert_host = "localhost";
$alert_port = "";
$alert_user = "snort";
$alert_password = "";
Got any ideas?
Thanks