problem with phpMyAdmin port

Daniel Gerzo danger at FreeBSD.org
Wed Aug 30 16:27:53 UTC 2006


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 at FreeBSD.org



More information about the freebsd-questions mailing list