From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jul 23 22:10:25 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D55B216A4CF for ; Fri, 23 Jul 2004 22:10:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7BF343D54 for ; Fri, 23 Jul 2004 22:10:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i6NMANsr070435 for ; Fri, 23 Jul 2004 22:10:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6NMANxG070434; Fri, 23 Jul 2004 22:10:23 GMT (envelope-from gnats) Resent-Date: Fri, 23 Jul 2004 22:10:23 GMT Resent-Message-Id: <200407232210.i6NMANxG070434@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Martin Waedt Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFC2816A4CF for ; Fri, 23 Jul 2004 22:05:29 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id E168243D55 for ; Fri, 23 Jul 2004 22:05:29 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i6NM5Ti5022454 for ; Fri, 23 Jul 2004 22:05:29 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i6NM5Tn1022453; Fri, 23 Jul 2004 22:05:29 GMT (envelope-from nobody) Message-Id: <200407232205.i6NM5Tn1022453@www.freebsd.org> Date: Fri, 23 Jul 2004 22:05:29 GMT From: Martin Waedt To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: =?iso-8859-1?q?ports/69506=3A_phpMyAdmin-2=2E5=2E7=2E1_doesn=B4?= =?iso-8859-1?q?t_work_with_php4-4=2E3=2E8=5F1__apache-2=2E0=2E50?= X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jul 2004 22:10:26 -0000 >Number: 69506 >Category: ports >Synopsis: phpMyAdmin-2.5.7.1 doesn´t work with php4-4.3.8_1 apache-2.0.50 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 23 22:10:23 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Martin Waedt >Release: 4.9-STABLE >Organization: Waedt GmbH >Environment: FreeBSD corinthian.office.niebauer 4.9-STABLE FreeBSD 4.9-STABLE #5: Sat Mar 27 12:54:04 CET 2004 root@corinthian.office.niebauer.com:/usr/obj/usr/src/sys/CORINTHIAN i386 >Description: After upgrading php4 to version 4-4.3.8_1 phpmyadmin doesn't work anymore Following error occures: Fatal error: Call to undefined function: preg_match() in /usr/local/www/phpMyAdmin/libraries/defines.lib.php on line 25 I'm not a php pro but I think it has something to do with the Version string. // php version if (!defined('PMA_PHP_INT_VERSION')) { if (!preg_match('@([0-9]{1,2}).([0-9]{1,2}).([0-9]{1,2})@', phpversion(), $match)) { $result = preg_match('@([0-9]{1,2}).([0-9]{1,2})@', phpversion(), $match); It looks like that phpmyadmin is not able to get the version of php. >How-To-Repeat: Upgrade to php 4-4.3.8_1 It also occures with 5.2.1-RELEASE-p9. >Fix: I'm not a php pro but I think it has something to do with the Version string. line 25 of phpMyAdmin/libraries/defines.lib.php // php version if (!defined('PMA_PHP_INT_VERSION')) { if (!preg_match('@([0-9]{1,2}).([0-9]{1,2}).([0-9]{1,2})@', phpversion(), $match)) { $result = preg_match('@([0-9]{1,2}).([0-9]{1,2})@', phpversion(), $match); It looks like that phpmyadmin is not able to get the version of php. >Release-Note: >Audit-Trail: >Unformatted: