Snort.org home  
Got Source? About Snort About Sourcefire Snort FAQ
Sourcefire Network Security - the creators of Snort

Snort Forums Archive

Archive Home » Third Party Tools » an error on php&acid

Please note that the categories listed below represent an archived version of our forums pages. To view the current version and be able to post and reply to threads, please register and login here to go to the full forums pages.

[ Notice: Full Version of This Topic ]

an error on php&acid


Posted by svista on April 26, 2005 01:18:12

hello:
I installed snort2.3.2 and php4.3.11 and acid and mysql on my FC3 machine. There is an 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)", when i load the "acid_main.php". But on the page of phpinfo(), it shows that '--with-mysql=shared,/usr' in the field of "Configure Command".
I recompiled the php, but the error still.
can anybody help me? thanks.

Posted by SecureIdeas on April 26, 2005 18:02:50

Hi-

For Redhat you need to make sure that the php-mysql rpm is installed. This RPM loads the libraries needed to let PHP interact with MySQL even though PHP was compiled with MySQL support.

I would of course also recommend that you use BASE instead of ACID.

Kevin

Posted by svista on May 11, 2005 19:17:36

thanks for your reply.

Posted by Anatole on May 18, 2005 06:31:58

I've a same problem with the graphical library gd:
PHP ERROR: PHP build incomplete: the prerequisite GD support required to generate graphs was not built into PHP. Please recompile PHP with the necessary library (--with-gd)

I use RH Enterprise 4 and I don't know how to recompile php.

What's the solution?
Thanks

Anatole


Posted by SecureIdeas on June 19, 2005 17:40:43

You do not need to recompile PHP, just add the correct RPMs.

Kevin

Posted by Anatole on June 21, 2005 01:19:54

Hi,

Is it an rpm for gd or for php?

Thanks

Anatole