Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137761 - dev-lang/php-5.1.4-r3 doesn't support multibyte strings
Summary: dev-lang/php-5.1.4-r3 doesn't support multibyte strings
Status: RESOLVED DUPLICATE of bug 134418
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-23 10:33 UTC by Bruno Lustosa
Modified: 2006-06-23 10:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Lustosa 2006-06-23 10:33:55 UTC
Hello.
The PHP ebuild doesn't support the multibyte string functions. According to the online manual, this option needs to be passed to configure:

-enable-mbstring: Enable mbstring functions. This option is required to use mbstring functions

I had a look at the ebuild, and couldn't find it. Also, 'equery uses dev-lang/php' lists a bunch of use flags, none of them related to mbstring.
Perhaps adding (yet another) use flag to php so that we can have this and avoid errors like this:

Fatal error: Call to undefined function mb_strtoupper() in /data/www/index.php on line 93
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-23 10:35:11 UTC

*** This bug has been marked as a duplicate of 134418 ***
Comment 2 Bruno Lustosa 2006-06-23 10:37:16 UTC
Sorry, I had 'unicode' USE flag enabled, but it seems I needed to restart apache. Should have thought about it.