www/69500: phpMyAdmin-2.5.7.1 doesn´t work with php4-4.3.8_1 apache-2.0.50
Martin Waedt
martin at waedt.net
Fri Jul 23 11:30:25 PDT 2004
>Number: 69500
>Category: www
>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-www
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Jul 23 18:30:24 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 at 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:
More information about the freebsd-www
mailing list