Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2006 13:14:05 -0400
From:      Bill Moran <wmoran@collaborativefusion.com>
To:        Daniel Gerzo <danger@FreeBSD.org>
Cc:        fbsd <fbsd@a1poweruser.com>, "freebsd-questions@FreeBSD. ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: problem with phpMyAdmin port
Message-ID:  <20060830131405.94a656d7.wmoran@collaborativefusion.com>
In-Reply-To: <134367082.20060830182748@rulez.sk>
References:  <MIEPLLIBMLEEABPDBIEGIEHBHLAA.fbsd@a1poweruser.com> <134367082.20060830182748@rulez.sk>

next in thread | previous in thread | raw e-mail | index | archive | help
In response to Daniel Gerzo <danger@FreeBSD.org>:

> > 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060830131405.94a656d7.wmoran>