By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,278 Members | 1,342 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,278 IT Pros & Developers. It's quick & easy.

The mbstring PHP extension was not found

usafshah
100+
P: 104
i'm using phpmyadmin on Fedora core 6, everything seems to be fine but the only thing is when i open phpmyadmin at the bottom it says like

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.


i opened the file php.ini and found ;extension=php_mbstring.dll and removed the semicolon, restarted apache but still didn't work. i guess this dll only related with windows apache, kaz i didn't find this file in linux.


any solution ?
Feb 21 '07 #1
Share this Question
Share on Google+
8 Replies


Motoma
Expert 2.5K+
P: 3,235
i'm using phpmyadmin on Fedora core 6, everything seems to be fine but the only thing is when i open phpmyadmin at the bottom it says like

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.


i opened the file php.ini and found ;extension=php_mbstring.dll and removed the semicolon, restarted apache but still didn't work. i guess this dll only related with windows apache, kaz i didn't find this file in linux.


any solution ?
Is php_mbstring.dll in the correct directory as specified by your php.ini file?
Feb 21 '07 #2

usafshah
100+
P: 104
but i didn't find any php_mbstring.dll file as i searched throug:

find / -name php_mbstring.dll
Feb 22 '07 #3

Motoma
Expert 2.5K+
P: 3,235
but i didn't find any php_mbstring.dll file as i searched throug:

find / -name php_mbstring.dll
Sorry, I forgot that you were using Fedora.

Could you post the mbstring related section of your php.ini file for us?
Feb 22 '07 #4

usafshah
100+
P: 104
[PHP]# cat /usr/local/php/lib/php.ini | grep mbstring

extension=php_mbstring.dll
[mbstring]
;mbstring.language = Japanese
;mbstring.internal_encoding = EUC-JP
;mbstring.http_input = auto
;mbstring.http_output = SJIS
; mbstring.internal_encoding setting. Input chars are
;mbstring.encoding_translation = Off
;mbstring.detect_order = auto
;mbstring.substitute_character = none;
; overload(replace) single byte functions by mbstring functions.
;mbstring.func_overload = 0
;mbstring.strict_encoding = Off
; With mbstring support this will automatically be converted into the encoding
; given by corresponding encode setting. When empty mbstring.internal_encoding
[/PHP]
Feb 24 '07 #5

Motoma
Expert 2.5K+
P: 3,235
Try running this:

Expand|Select|Wrap|Line Numbers
  1. yum install php-mbstring
  2.  
Feb 24 '07 #6

usafshah
100+
P: 104
[PHP][root@linuxserver tickets]# yum install php-mbstring
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php-mbstring to pack into transaction set.
php-mbstring-5.1.6-3.4.fc 100% |=========================| 16 kB 00:00
---> Package php-mbstring.i386 0:5.1.6-3.4.fc6 set to be updated
--> Running transaction check

Dependencies Resolved

================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Installing:
php-mbstring i386 5.1.6-3.4.fc6 updates 967 k

Transaction Summary
================================================== ===========================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 967 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): php-mbstring-5.1.6-3.4.fc6.i386.rpm 967 kB 00:04
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: php-mbstring ######################### [1/1]

Installed: php-mbstring.i386 0:5.1.6-3.4.fc6
Complete!
[root@linuxserver tickets]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
[root@linuxserver tickets]#
[/PHP]


still same error
Feb 24 '07 #7

usafshah
100+
P: 104
here is the output of yum search php-mbstring



[PHP][root@linuxserver tickets]# yum search php-mbstring
Loading "installonlyn" plugin
Setting up repositories
Reading repository metadata in from local files



php-mbstring.i386 5.1.6-3 core
Matched from:
php-mbstring
The php-mbstring package contains a dynamic shared object that will add
support for multi-byte string handling to PHP.



horde-enhanced.noarch 3.1.3-11.fc6 extras
Matched from:
A collection of other external packages that extend the horde framework,
including:
php-imap
php-mbstring
php-mcrypt
php-pecl-Fileinfo
php-pear-Auth-SASL
php-pear-Date
php-pear-HTTP-Request
php-pear-Mail
php-pear-Net-Socket
php-pear-Net-SMTP



php-mbstring.i386 5.1.6-3.3.fc6 updates
Matched from:
php-mbstring
The php-mbstring package contains a dynamic shared object that will add
support for multi-byte string handling to PHP.



php-mbstring.i386 5.1.6-3.4.fc6 updates
Matched from:
php-mbstring
The php-mbstring package contains a dynamic shared object that will add
support for multi-byte string handling to PHP.



php-mbstring.i386 5.1.6-3.4.fc6 installed
Matched from:
php-mbstring
The php-mbstring package contains a dynamic shared object that will add
support for multi-byte string handling to PHP.

[root@linuxserver tickets]#
[/PHP]
Feb 24 '07 #8

Motoma
Expert 2.5K+
P: 3,235
Uncomment the mbstring related lines in php.ini and set them to the character set you need.
Feb 24 '07 #9

Post your reply

Sign in to post your reply or Sign up for a free account.