[Snort-users] PHP build incomplete error on ACID

Michael G. Meskill (MIS) MGMeskill at ...6961...
Fri Sep 20 13:09:05 EDT 2002

Did /var/log/messages give you any grief?

Also, if you're unsure about the LAMP (Linux Apache MySQL PhP) installation,
try Apachetoolbox from www.apachetoolbox.com - it's a truly excellent tool
for getting all of the LAMP parts installed and configured.


-----Original Message-----
From: Shreyas Doshi [mailto:shreyas.doshi at ...6955...]
Sent: Friday, September 20, 2002 1: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