snort+mysql+acid
Richard Lynch
ceo at l-i-e.com
Sat Sep 25 20:07:00 PDT 2004
kinux wrote:
> Fatal error: Call to undefined function: preg_replace() in
> /usr/local/www/acid/acid_signature.inc on line 194
You have managed to install PHP *without* the PCRE module (module of PHP).
http://php.net/pcre
should lead you to something useful about how/where to get PCRE.
Not sure how that translates into FreeBSD ports system, however.
You can check what PHP modules are installed by creating a PHP file in
your web server with (only) this in it:
<?php phpinfo();?>
I *thought* the PCRE module was built-in to PHP -- at least after 4.0
anyway...
Check your version of PHP in that output -- You may have managed to
install it twice, and are somehow using an "old" PHP version with
snort/mysql/acid...
Also try "php -v" on the command line as the Snort user (or whatever
user[s] seem appropriate).
--
Like Music?
http://l-i-e.com/artists.htm
More information about the freebsd-questions
mailing list