From owner-freebsd-questions@FreeBSD.ORG Sun Sep 26 03:07:00 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CF8916A5AB for ; Sun, 26 Sep 2004 03:07:00 +0000 (GMT) Received: from o2.hostbaby.com (o2.hostbaby.com [208.187.29.121]) by mx1.FreeBSD.org (Postfix) with SMTP id CD64643D2D for ; Sun, 26 Sep 2004 03:06:59 +0000 (GMT) (envelope-from ceo@l-i-e.com) Received: (qmail 98369 invoked by uid 1001); 26 Sep 2004 03:07:04 -0000 Received: from 24.148.51.115 (SquirrelMail authenticated user ceo@l-i-e.com); by www.l-i-e.com with HTTP; Sat, 25 Sep 2004 20:07:04 -0700 (PDT) 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> Date: Sat, 25 Sep 2004 20:07:04 -0700 (PDT) From: "Richard Lynch" To: "kinux" User-Agent: Hostbaby Webmail X-Mailer: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal cc: freebsd-questions@freebsd.org Subject: Re: snort+mysql+acid X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ceo@l-i-e.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Sep 2004 03:07:00 -0000 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: 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