From owner-freebsd-questions@FreeBSD.ORG Fri Mar 31 14:57:55 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 3D7F416A400 for ; Fri, 31 Mar 2006 14:57:55 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05C7C43D66 for ; Fri, 31 Mar 2006 14:57:52 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from localhost (monrovll-cuda1-24-53-251-44.pittpa.adelphia.net [24.53.251.44]) (AUTH: LOGIN wmoran, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Fri, 31 Mar 2006 09:57:51 -0500 id 00056430.442D436F.0000E1B1 Date: Fri, 31 Mar 2006 09:57:51 -0500 From: Bill Moran To: darryl@osborne-ind.com Message-Id: <20060331095751.2cc13972.wmoran@collaborativefusion.com> In-Reply-To: <002e01c654cd$6a2ed200$0701a8c0@darryl> References: <002e01c654cd$6a2ed200$0701a8c0@darryl> Organization: Collaborative Fusion X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: PHP4 install question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2006 14:57:55 -0000 "Darryl Hoar" wrote: > Greetings, > I have a Freebsd 6-release machine. > > I have installed /usr/ports/lang/php4 > the usual way. make make install. > > The problem I am having is that the application I am > trying to run barfs with an error: > > Fatal error: Call to undefined function: preg_replace() > in /usr/local/www/data-dist/webmail/functions/global.php > on line 85. > > After some research, I found that I guess I need pcre in > PHP4. > > phpinfo() does not show --with-pcre-regex . So, how do > I do this ? /usr/ports/lang/php4-extensions -- Bill Moran Potential Technologies http://www.potentialtech.com