From owner-freebsd-questions@FreeBSD.ORG Wed Aug 30 16:18:17 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 4EE3716A4E6 for ; Wed, 30 Aug 2006 16:18:17 +0000 (UTC) (envelope-from fbsd@a1poweruser.com) Received: from mta13.adelphia.net (mta13.mail.adelphia.net [68.168.78.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B6A143D46 for ; Wed, 30 Aug 2006 16:18:16 +0000 (GMT) (envelope-from fbsd@a1poweruser.com) Received: from barbish ([70.39.69.56]) by mta13.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with SMTP id <20060830161811.CZFL59.mta13.adelphia.net@barbish> for ; Wed, 30 Aug 2006 12:18:11 -0400 From: "fbsd" To: "freebsd-questions@FreeBSD. ORG" Date: Wed, 30 Aug 2006 12:18:05 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478 Cc: Subject: problem with phpMyAdmin port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fbsd@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2006 16:18:17 -0000 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. 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 again looks like another port error. Is the phpMyAdmin port broken????