Date: Sat, 25 Sep 2004 20:07:04 -0700 (PDT) From: "Richard Lynch" <ceo@l-i-e.com> To: "kinux" <kinux@hknet.com> Cc: freebsd-questions@freebsd.org Subject: Re: snort+mysql+acid Message-ID: <3518.24.148.51.115.1096168024.squirrel@www.l-i-e.com> In-Reply-To: <00a001c4a1de$51e636f0$4c22fea9@winxp> References: <00e901c4a0c9$26e810b0$4c22fea9@winxp><200409221901.17579.steve@howes-macnaghten.com> <008601c4a195$1a3163e0$4c22fea9@winxp> <00a001c4a1de$51e636f0$4c22fea9@winxp>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3518.24.148.51.115.1096168024.squirrel>