[bug-notifications] [php5 0004520]: mbregex missing from PHP

Mantis Bug Tracker noreply at opencsw.org
Wed Jun 29 03:59:13 CEST 2011


The following issue has been ASSIGNED. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4520 
====================================================================== 
Reported By:                opk
Assigned To:                bwalton
====================================================================== 
Project:                    php5
Issue ID:                   4520
Category:                   packaging
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2010-08-13 16:38 CEST
Last Modified:              2011-06-29 03:59 CEST
====================================================================== 
Summary:                    mbregex missing from PHP
Description: 
I'm attempting to migrate an application from blastwave stable to recent
opencsw and I get the following message:
PHP Fatal error:  Call to undefined function mb_ereg_replace

This can be reproduced easily with:
echo '<?php print mb_ereg_replace("a", "b", "lalala\n"); ?>' |
/opt/csw/php5/bin/php

According to phpinfo(), php5 was compiled with --enable-mbregex=shared yet
I can't find any shared library corresponding to mbregex. Has it perhaps
been forgotten in the packaging. I do have mbstring and it is enabled in
the configuration file. On the old installation, phpinfo() reports a bare
--enable-mbregex.
====================================================================== 

---------------------------------------------------------------------- 
 (0008658) sriedel (reporter) - 2011-01-03 16:27
 https://www.opencsw.org/mantis/view.php?id=4520#c8658 
---------------------------------------------------------------------- 
Yep, php5_mbstring is installed, but mbregex is missing nevertheless. 

Regarding to
http://www.mail-archive.com/maintainers[AT]lists.opencsw.org/msg06843.html
(grrr ... replace [AT] by @ to make this link work ... this was needed due
to horrible formatting of the URL by Mantis), mbregex is supposed to be in
the main package php5, but was somehow left out when packaging it.

Anyways, thanks for your help.



More information about the bug-notifications mailing list