[Snort-users] PHP build incomplete error on ACID

Slighter, Tim tslighter at ...5174...
Tue Sep 24 07:35:06 EDT 2002

Once you did the build, did you go into mySQL and source the create_mysql
script in the newly created snort database ?  

-----Original Message-----
From: Shreyas Doshi [mailto:shreyas.doshi at ...6955...]
Sent: Friday, September 20, 2002 12:16 PM
To: snort-users at lists.sourceforge.net
Subject: [Snort-users] PHP build incomplete error on ACID

Hi all,

I originally posted this message off google groups and did not receive
any replies. Hence, I am re-posting it directly on the list. Any help
will be deeply appreciated.

I installed snort, acid, phplot, adodb, gd, php, and mysql as per the
instructions on
on a Redhat 7.2 box running apache.

When I open the ACID URL, I get the following error:

PHP ERROR: PHP build incomplete: the prerequisite MySQL support
required to read the alert database was not built into PHP. Please
recompile PHP with the necessary library (--with-mysql)

The fact is, however, that I have compiled PHP with MySQL support. I
also tried installing php-mysql, guessing that maybe that could remedy
the situation.That did not work either.  I also tried to modify the
php.ini file in
/etc to say

"extension_dir=.:/usr/lib/php4"   ('cos thats where mysql.so is

Then, restarted httpd, but even this did not work.

First question:
Have I done the right thing in the php.ini file?

Second question:
How do I get rid of this error?

I am using Linux after a gap of 6 years, so I might be making some
mistakes - cant' figure out what though.


This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
Snort-users mailing list
Snort-users at lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
Snort-users list archive:

More information about the Snort-users mailing list