From owner-freebsd-questions@FreeBSD.ORG Wed Aug 30 17:14:08 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 A9DBC16A4E2 for ; Wed, 30 Aug 2006 17:14:08 +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 F390443D76 for ; Wed, 30 Aug 2006 17:14:06 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from collaborativefusion.com (mx01.pub.collaborativefusion.com [206.210.89.201]) (TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Wed, 30 Aug 2006 13:14:06 -0400 id 00056410.44F5C75E.000103F6 Received: from Internal Mail-Server (206.210.89.202) by mx01 (envelope-from wmoran@collaborativefusion.com) with AES256-SHA encrypted SMTP; 30 Aug 2006 13:13:10 -0400 Date: Wed, 30 Aug 2006 13:14:05 -0400 From: Bill Moran To: Daniel Gerzo Message-Id: <20060830131405.94a656d7.wmoran@collaborativefusion.com> In-Reply-To: <134367082.20060830182748@rulez.sk> References: <134367082.20060830182748@rulez.sk> Organization: Collaborative Fusion X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: fbsd , "freebsd-questions@FreeBSD. ORG" Subject: Re: problem with phpMyAdmin port 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: Wed, 30 Aug 2006 17:14:08 -0000 In response to Daniel Gerzo : > > When I try to run phpMyAdmin I get this error > > Fatal error: Call to undefined function preg_replace() in > > /usr/local/www/phpMyAdmin/libraries/sanitizing.lib.php on line 37 > > this is not error of the port. You are missing PCRE php extension. > Install the lang/php4-extensions or php5-extensions port. Actually, this _is_ an error in the port. The port should properly specify the pcre extension as a dependency. The workaround suggested will get you going, however. If this problem is reproducible, you should file a PR. Are you sure the port installed successfully? I just installed this port a few weeks ago and it worked fine. If you're ports tree is up to date, then these bugs are newly introduced. -- Bill Moran Collaborative Fusion Inc.