|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#31
|
|||
|
|||
|
RE: mbstring configuration
I'm using IIS and solved this by copying the php_mbstring.dll to the PHPMyAdmin folder and un-commenting the relevant line in the ini file
Thanks all Dave |
|
#32
|
|||
|
|||
|
RE: RE: mbstring configuration
Quote:
Thanks a lot. It resolved my problem. Chen |
|
#33
|
|||
|
|||
|
RE: mbstring configuration
You can find your apache base dir by using the phpinfo() function...its usually /usr/local/apache/
I downloaded php_mbstring.dll cuz it did not exist on my server yet. I got the file from here http://kromann.info/download.php?strFolder=php4-Release_TS&strIndex=PHP4 I copied php_mbstring.dll to my base apache dir. Now i have the following lines in php.ini : extension=php_mbstring.dll mbstring.encoding_translation = 1 I had to add both of these lines, as my php.ini didn't have them already commented out. After restarting apache, when i try to use a function from mbstring, i get the following error: Fatal error: Call to undefined function: mb_convert_encoding() I don't understand wut i have to do in order to get access to this function. Any help would be appreciated. |
|
#34
|
|||
|
|||
|
RE: mbstring configuration
meh, i gave up and just decided to use this guy's character conversion class ( http://mikolajj.republika.pl/ )...no messing around w/ php.ini, no installing libraries...
|
|
#35
|
|||
|
|||
|
RE: RE: mbstring configuration
Quote:
Try to search for "extension_dir" in your php.ini and put the php_mbstring.dll in that directory, it should work. Hope this would help Cheers, Js |
|
#36
|
|||
|
|||
|
RE: mbstring configuration
love u long time
|
|
#37
|
|||
|
|||
|
RE: mbstring configuration
on linux
yum install php-mbstring bazing. |
|
#38
|
|||
|
|||
|
RE: mbstring configuration
PHPMyAdmin 2.9.11
That's all well ang good if one is the admin of the box, but on virtual hosts one can't yum, up2date nor anything else. How do I get PHP to use mbstring? |
|
#39
|
|||
|
|||
|
RE: mbstring configuration
I just fixed it by reading here. On a Linux Fedora 4 system by doing:
yum install php-mbstring It installes that and just go back to your phpMyAdmin and reload it and you don't see that error at the bottum of the page any more! -Raymond Day |
|
#40
|
|||
|
|||
|
RE: mbstring configuration
Thanks for the help with mbstring configurations. I reviewed all post and was able to find my fix.
I am using OpenSuse 10.2, MySQL 5, PHP5, and phpMyAdmin 2.8.1. I used Yast to install the php-mbstring package, and restarted apache. Many Thanks to all who contribute their knowledge.... bobbyc |
|
#41
|
|||
|
|||
|
RE: mbstring configuration
This helped me: On Red Hat Enterprise Linux, only up2date is initially available for installing packages.
Opening a terminal window, I was able to install the mbstring package by issuing this command: up2date -i php-mbstring |
|
#42
|
|||
|
|||
|
RE: mbstring configuration
I have the same problem. I had this problem with another machine, and managed to fix it, but I can't fix it on my secondary machine. here are the steps I have done:
- Changed the Extensions directory to: extension_dir = "C:/php/extensions" - Uncommented the extensions in php.ini extension=php_mbstring.dll - Copied php_mystring.dll to Apache root folder and to windows / system32 Restarted the Apache service Still no luck, the same message is shown '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.' Bizzarely, I can also no longer view my phpinfo.php script. I can view my databases with no problem but this script no longer loads... Are there any other steps I can try? |
|
#43
|
|||
|
|||
|
not sure on apache
Quote:
i'm not sure on apache but i'm using IIS6 and i ended up droping the dll files in my windows/system and windows/system32 files and all works well |
|
#44
|
|||
|
|||
|
Linux mbstring problem
Quote:
I'm having the same problem in Fedora Core 4 as well - very new to system admin type tasks. I've found lots of posts and tried installing with 'yum search mbstring' with no luck. |
|
#45
|
|||
|
|||
|
The CORRECT way to enable mbstring
Firstly, some people in this thread are talking about moving the libraries/dll files to the root, but this is not a good way to keep the structure of the php install so that you can find things you might need later. To enable ANY module in PHP is a fairly simple process, no matter which OS you are using because PHP is not an OS dependent protocol or language. But to do so, you will need to check directory structure and open up your php.ini to make some changes.
Firstly, you need to browse to the place where PHP is installed on your machine, regardless of platform. When you find where PHP is installed, you need to open the folder and look for a folder called ext. In that folder, you will find a bunch of modules you can enable for your specific build of PHP. This is the PHP extension directory, and if the extension does not exist there, then your PHP build did not include the extension in question, and you will have to either rebuild it or find a ready made solution with the required extensions built into it. Look in this folder to see if mbstring exists. If it does, then you are set. If not, then you will need to rebuild or find another solution as previously mentioned. In the meanwhile, back up to the directory where PHP is installed and open the php.ini file. Scroll through that file and look for a place like follows: Code:
; Directory in which the loadable extensions (modules) reside. Just below that line should be a line that starts with as follows: Code:
extension_dir = After that is where you put the path that tells PHP where your extension directory is located within your file structure. For example, I am running a WAMP stack (Windows, Apache, MySQL, and PHP), so what my line looks like is as follows: Code:
extension_dir = "D:/Apache2-2-8/php5-2-5/ext/" Note, this is a FILE PATH based on your system's drive and folder structure. Once you have this variable set, you need to move to the long listing of extensions that are commented out. Do a search for the following: Code:
;extension=php This should put you in the general area where the long list of enableable extensions are located. Scroll down until you find ;extension=php_mbstring.dll and uncomment it by deleting the ";" in front of the line. Restart your server and your extensions should be loaded. Keep in mind this is for those with their own server which they have control over. If you are on a paid host and they do not allow per directory php.ini over rides and they do not have your extension compiled in their PHP build, you will not have these options. This is the PROPER way of enabling extensions so that when you go to upgrade your PHP installations, you have less trouble with stray files laying around where they do not belong. Hope this helps out. |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > mbstring configuration |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|