From owner-freebsd-questions@FreeBSD.ORG Wed Aug 30 16:27:53 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 0914616A4DF for ; Wed, 30 Aug 2006 16:27:53 +0000 (UTC) (envelope-from danger@FreeBSD.org) Received: from virtual.micronet.sk (smtp.micronet.sk [84.16.32.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CA6643D49 for ; Wed, 30 Aug 2006 16:27:52 +0000 (GMT) (envelope-from danger@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by virtual.micronet.sk (Postfix) with ESMTP id 9BCEB10E6BE; Wed, 30 Aug 2006 18:27:38 +0200 (CEST) X-Virus-Scanned: by amavisd-new at virtual.micronet.sk Received: from virtual.micronet.sk ([127.0.0.1]) by localhost (virtual.micronet.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lkRaPVGFoxp7; Wed, 30 Aug 2006 18:27:34 +0200 (CEST) Received: from danger.mcrn.sk (danger.mcrn.sk [84.16.37.254]) by virtual.micronet.sk (Postfix) with ESMTP id AE4F310E6F4; Wed, 30 Aug 2006 18:27:34 +0200 (CEST) Date: Wed, 30 Aug 2006 18:27:48 +0200 From: Daniel Gerzo Organization: The FreeBSD Project X-Priority: 3 (Normal) Message-ID: <134367082.20060830182748@rulez.sk> To: "fbsd" In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@FreeBSD. ORG" Subject: Re: problem with phpMyAdmin port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Gerzo List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2006 16:27:53 -0000 Hello fbsd, Wednesday, August 30, 2006, 6:18:05 PM, you wrote: > Just downloaded phpMyAdmin port make files on 6.1 system and ran > "make install clear". > Already had php5 and mysql5 previously installed and working. > The phpMyAdmin port installed fine. > Problem is the phpMyAdmin directory was installed as /www/phpMyAdmin > and it should have been /usr/local/www/phpMyAdmin. > This looks to me like port error to me. not sure here, wait for others' replies. > I tried to do work around by cp -R /www/phpMyAdmin /usr/local/www/ > This copied all the files and subdirectories ok. > 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. > This again looks like another port error. > Is the phpMyAdmin port broken???? -- Best regards, Daniel mailto:danger@FreeBSD.org