PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Dell PowerEdge Servers
  #1  
Old May 28th, 2005, 02:47 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
mbstring configuration

i am a complete newbie to php and i am having an issue with phpmyadmin which relates to the mbstring. when i try to run phpmyadmin i am getting an error message at the bottom that reads as follows:

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 have done research but being so new i honestly dont know what variable in the php.ini am supposed to adjust so that i no longer get this error. here is what the section that relates to the mbstring in my php.ini file looks like now
[mbstring]
; language for internal character representation.
;mbstring.language = Japanese

; internal/script encoding.
; Some encoding cannot work as internal encoding.
; (e.g. SJIS, BIG5, ISO-2022-*)
;mbstring.internal_encoding = EUC-JP

; http input encoding.
;mbstring.http_input = auto

; http output encoding. mb_output_handler must be
; registered as output buffer to function
;mbstring.http_output = SJIS

; enable automatic encoding translation accoding to
; mbstring.internal_encoding setting. Input chars are
; converted to internal encoding by setting this to On.
; Note: Do _not_ use automatic encoding translation for
; portable libs/applications.
;mbstring.encoding_translation = Off

; automatic encoding detection order.
; auto means
;mbstring.detect_order = auto

; substitute_character used when character cannot be converted
; one from another
;mbstring.substitute_character = none;

; overload(replace) single byte functions by mbstring functions.
; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
; etc. Possible values are 0,1,2,4 or combination of them.
; For example, 7 for overload everything.
; 0: No overload
; 1: Overload mail() function
; 2: Overload str*() functions
; 4: Overload ereg*() functions
;mbstring.func_overload = 0

any help that someone could give me would be greatly appreciated

thank you

Reply With Quote
  #2  
Old July 14th, 2005, 07:13 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: mbstring configuration


Quote:
i am a complete newbie to php and i am having an issue with phpmyadmin which relates to the mbstring. when i try to run phpmyadmin i am getting an error message at the bottom that reads as follows:

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 have done research but being so new i honestly dont know what variable in the php.ini am supposed to adjust so that i no longer get this error. here is what the section that relates to the mbstring in my php.ini file looks like now
[mbstring]
; language for internal character representation.
;mbstring.language = Japanese

; internal/script encoding.
; Some encoding cannot work as internal encoding.
; (e.g. SJIS, BIG5, ISO-2022-*)
;mbstring.internal_encoding = EUC-JP

; http input encoding.
;mbstring.http_input = auto

; http output encoding. mb_output_handler must be
; registered as output buffer to function
;mbstring.http_output = SJIS

; enable automatic encoding translation accoding to
; mbstring.internal_encoding setting. Input chars are
; converted to internal encoding by setting this to On.
; Note: Do _not_ use automatic encoding translation for
; portable libs/applications.
;mbstring.encoding_translation = Off

; automatic encoding detection order.
; auto means
;mbstring.detect_order = auto

; substitute_character used when character cannot be converted
; one from another
;mbstring.substitute_character = none;

; overload(replace) single byte functions by mbstring functions.
; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
; etc. Possible values are 0,1,2,4 or combination of them.
; For example, 7 for overload everything.
; 0: No overload
; 1: Overload mail() function
; 2: Overload str*() functions
; 4: Overload ereg*() functions
;mbstring.func_overload = 0

any help that someone could give me would be greatly appreciated

thank you


If you copy the php_mbstring.dll to you base dir for apache and then load make sure the mudule loads in the php.ini file by uncomenting the following line:

;extension=php_mbstring.dll

After that, restart apache and, you should no longer see the problem.

Azzka

Reply With Quote
  #3  
Old August 13th, 2005, 06:50 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: mbstring configuration



Thanks Azzka

it worked!

Reply With Quote
  #4  
Old September 4th, 2005, 02:11 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: mbstring configuration

where can i find php_mbstring.dll ?

Reply With Quote
  #5  
Old September 7th, 2005, 09:03 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: mbstring configuration

This was the most helpful post yet. I also researched this topic for some time even reading alot of the PHP site. I wish someone else understood the error as easily as you did to give such a simple solution.

You should be able to find the .dll in your /php/ext folder

Thanks for helping others it helped me alot.

Reply With Quote
  #6  
Old September 22nd, 2005, 10:55 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: mbstring configuration

That was a great post and sorted my problem in seconds. If only everything would be that simple to follow and result in a successful conclusion.

Cheers mate!

Reply With Quote
  #7  
Old October 21st, 2005, 01:22 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: mbstring configuration

many thanks for this- after a quick look through php.net and mysql sites, this was the first site up on Google and it assisted me straight away. I'll be back!

Many thanks.

Reply With Quote
  #8  
Old November 9th, 2005, 10:13 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: mbstring configuration

Which folder is the base dir in apache?
Its the base that confuse me

Reply With Quote
  #9  
Old January 2nd, 2006, 09:49 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: mbstring configuration

I uncommented that line in my php.ini file, and copied mbstring.dll from my PHP root folder to my Apache2 root folder, and when I restart Apache I get this error, not once, but twice:

PHP Startup: Unable to load dynamic library 'CHPphp_mbstring.dll' - The specified procedure could not be found.


I have the php_mbstring.dll file in both folders...what could be causing this error?


Thanks in advance, any help is much appreciated.

Reply With Quote
  #10  
Old January 25th, 2006, 11:09 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: mbstring configuration

Great AZZKA!

You are the best. Thank you very much.

Giovany Fernandez - Bolivia
giovanyfernandez@gmail.com

Reply With Quote
  #11  
Old March 11th, 2006, 08:30 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: mbstring configuration

I also got the same problem, I fix this by uncomment the extension=php_mbstring.dll and correct the path to the extension at extension_dir = "D:php4extensions"

Reply With Quote
  #12  
Old March 15th, 2006, 09:08 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: mbstring configuration

1. edit php.ini with your favorite editor.
2. add this line to the {windows extensions} section.
extension=php_mbstring.dll
3. and make sure that php_mbstring.dll is located at your php extension folder.

Ariel Marasigan
STA College of Computer Science
abmtagaytay@yahoo.com

Reply With Quote
  #13  
Old March 17th, 2006, 10:32 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: RE: mbstring configuration

Yes this is only true if you have php, mysql and apache on windows. What about the same problem on a linux install?

Quote:
1. edit php.ini with your favorite editor.
2. add this line to the {windows extensions} section.
extension=php_mbstring.dll
3. and make sure that php_mbstring.dll is located at your php extension folder.

Ariel Marasigan
STA College of Computer Science
abmtagaytay@yahoo.com


Reply With Quote
  #14  
Old March 27th, 2006, 07:00 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: mbstring configuration

On Linux (RedHat and Fedora anyway) I think the mbstring as been removed from php. You need to install another package. Install php-mbstring.


Reply With Quote
  #15  
Old March 31st, 2006, 08:04 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: mbstring configuration

I am having the same error, I am using Linux Fedora Core 4. Can someone tell how to fix this? Please, I am a newbie at this. Thank you

Error "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." Error



Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > mbstring configuration


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump