mbstring added but phpMyAdmin says missing extension

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

mbstring added but phpMyAdmin says missing extension

Post by anjanesh »

On the linux FC2 box, phpinfo shows --with-mbstring
but phpMyAdmin shows

Code: Select all

The mbstring PHP extension was not found and you seem to be using a multibyte charset. Without the mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results.
Any idea whats to be fixed ?

Thanks
User avatar
AKA Panama Jack
Forum Regular
Posts: 878
Joined: Mon Nov 14, 2005 4:21 pm

Post by AKA Panama Jack »

Scroll down the list of things shown in the phpinfo page and look for the mbstring module. It should say something like this...
Multibyte Support enabled
Japanese support enabled
Simplified chinese support enabled
Traditional chinese support enabled
Korean support enabled
Russian support enabled
Multibyte (japanese) regex support enabled

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding ISO-8859-1 no value
mbstring.language neutral neutral
mbstring.script_encoding no value no value
mbstring.substitute_character no value no value

If it doesn't then mbstring isn't installed or isn't enabled.
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

but php 5.1.4 was compiled --with-mbstring. How come the module is missing ?
From where can I get this module for Fedora Core 2 ?

Thanks
User avatar
AKA Panama Jack
Forum Regular
Posts: 878
Joined: Mon Nov 14, 2005 4:21 pm

Post by AKA Panama Jack »

anjanesh wrote:but php 5.1.4 was compiled --with-mbstring. How come the module is missing ?
From where can I get this module for Fedora Core 2 ?

Thanks
Well, you may have compiled with the tag but the module may not be compiled on the server. So the tag was ignored when you compiled PHP.
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

Where can I find this module doc for FC2 ? Any tar ball available ? I dont want the RPMs.
imtiazkhan
Forum Newbie
Posts: 1
Joined: Sat Jun 24, 2006 11:43 pm

this might help

Post by imtiazkhan »

here's my config.nice which finally got it running:

Code: Select all

'./configure' \
'--with-apxs2=/usr/local/apache2/bin/apxs' \
'--enable-mbstring=all' \
'--with-bcmath' \
'--with-bz2' \
'--with-calendar' \
'--with-cdb' \
'--with-com_dotnet' \
'--with-ctype' \
'--with-curl' \
'--with-date' \
'--with-dbm' \
'--with-dom' \
'--with-exec' \
'--with-exif' \
'--with-freetype' \
'--with-ftp' \
'--with-gd' \
'--with-gettext' \
'--with-gmp' \
'--with-hash' \
'--with-iconv' \
'--with-imap' \
'--with-imap-ssl' \
'--with-jpeg' \
'--with-kerberos' \
'--with-ldap' \
'--with-libxml' \
'--with-mcrypt' \
'--with-mhash' \
'--with-mime_magic' \
'--with-mime-magic' \
'--with-mysql=/usr/local/mysql' \
'--with-ncurses' \
'--with-odbc' \
'--with-openssl' \
'--with-pcre' \
'--with-pdo-dblib' \
'--with-png' \
'--with-readline' \
'--with-Reflection' \
'--with-SimpleXML' \
'--with-tidy' \
'--with-ttf' \
'--with-unixODBC' \
'--with-wddx' \
'--with-xml' \
'--with-xmlreader' \
'--with-xmlrpc' \
'--with-xmlwriter' \
'--with-xpm' \
'--with-xsl' \
'--with-zlib' \
"$@"
The '--enable-mbstring=all' was key. with just '--enable-mbstring' it doesn't seem to work

Warm Regards
Imtiaz
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

Ah....thanks Imtiaz ! :wink:
Post Reply