Page 1 of 1

mbstring added but phpMyAdmin says missing extension

Posted: Sat Jun 24, 2006 11:17 am
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

Posted: Sat Jun 24, 2006 12:33 pm
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.

Posted: Sat Jun 24, 2006 12:45 pm
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

Posted: Sat Jun 24, 2006 1:07 pm
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.

Posted: Sat Jun 24, 2006 1:11 pm
by anjanesh
Where can I find this module doc for FC2 ? Any tar ball available ? I dont want the RPMs.

this might help

Posted: Sat Jun 24, 2006 11:52 pm
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

Posted: Tue Jun 27, 2006 1:59 pm
by anjanesh
Ah....thanks Imtiaz ! :wink: