FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » php mbstring extension doesnt load
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: php mbstring extension doesnt load [message #175315 is a reply to message #175314] Sun, 04 September 2011 05:03 Go to previous messageGo to previous message
Cat 22 is currently offline  Cat 22
Messages: 6
Registered: September 2011
Karma:
Junior Member
Jerry Stuckle wrote:

> On 9/3/2011 7:09 PM, Cat 22 wrote:
>> I'm on a mandriva x64 (2010.0) system and have
>> PHP 5.2.6 (cli) (built: Nov 15 2009 11:54:34)
>> installed, i use lighttpd as my webserver for local stuff.
>> I find i need the mbstring extension so i installed it via mcc
>> its now in /usr/lib64/php/extensions/mbstring.so
>> but php -m dosent list it as loaded.
>> The /etc/php.ini file has an mbstring section which i
>> set to this (all the other items under [mbstring] are commented
>> out):
>> [mbstring]
>> ; language for internal character representation.
>> ; http://php.net/mbstring.language
>> mbstring.language = English
>>
>> I restarted lighttpd but i still dont have mbstring loaded.
>> What have i missed?
>> Thanks
>> Cat22
>>
>>
>
> Did you load the extension in your php.ini file?
>
I tried that, like this but it didnt help

from /etc/php.ini:

; Directory in which the loadable extensions (modules) reside.
; http://php.net/extension-dir
extension_dir = "/usr/lib64/php/extensions"

; If you wish to have an extension loaded automatically, use the
following
; syntax:
;
; extension=modulename.extension
extension=mbstring.so <== i added this line
;
; On Mandriva, we don't add the extensions in php.ini anymore, we put
; them in /etc/php.d/<number>_<name>.ini, for example 10_recode.ini.
;
; This is so that the RPMS can register themselves without having to
; modify the php.ini file.

Also:

#locate mbstring
/etc/php.d/29_mbstring.ini
/usr/lib64/php/extensions/mbstring.so

#cat /etc/php.d/29_mbstring.ini
extension = mbstring.so

I then restarted lighttpd
Still no joy
Thanks
Cat22
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Stats comp.lang.php (last 7 days)
Next Topic: what does mean this?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Oct 07 04:26:36 GMT 2024

Total time taken to generate the page: 0.05377 seconds