multibyte string support

This is a discussion on multibyte string support within the PHP Language forums, part of the PHP Programming Forums category; I've just moved my web site from one server to another at the same hosting company (I upgraded to ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-24-2007
Andrew McLean
 
Posts: n/a
Default multibyte string support

I've just moved my web site from one server to another at the same
hosting company (I upgraded to a better package). Unfortunately one of
my WordPress plugins now complains about the absence of multibyte string
support in PHP on the new server.

What I don't understand is that phpinfo on that server

http://www.middns1.co.uk/~westdorseuk/phpinfo.php

shows the three important configuration settings were enabled, viz.

'--enable-mbstring=shared' '--enable-mbstr-enc-trans' '--enable-mbregex'

However, I think there should also be be a separate section in the
phpinfo page relating specifically to the multibyte strings module, as
for instance on

http://www.ozpolitics.info/phpinfo.php

I'm guessing there must be some runtime settings that need to be used,
perhaps in php.ini. Any ideas?

I can't see anything here: http://uk.php.net/mbstring

but I'm not that familiar with PHP.

- Andrew
Reply With Quote
  #2 (permalink)  
Old 03-24-2007
peter
 
Posts: n/a
Default Re: multibyte string support

> I've just moved my web site from one server to another at the same hosting
> company (I upgraded to a better package). Unfortunately one of my
> WordPress plugins now complains about the absence of multibyte string
> support in PHP on the new server.
>
> What I don't understand is that phpinfo on that server
>
> http://www.middns1.co.uk/~westdorseuk/phpinfo.php
>
> shows the three important configuration settings were enabled, viz.
>
> '--enable-mbstring=shared' '--enable-mbstr-enc-trans' '--enable-mbregex'
>
> However, I think there should also be be a separate section in the phpinfo
> page relating specifically to the multibyte strings module, as for
> instance on
>
> http://www.ozpolitics.info/phpinfo.php
>
> I'm guessing there must be some runtime settings that need to be used,
> perhaps in php.ini. Any ideas?
>
> I can't see anything here: http://uk.php.net/mbstring
>
> but I'm not that familiar with PHP.


The difference could quite possibly be caused by the fact that those 2
phpinfo pages are for different major versions of php (4 and 5). The fact
that the previous 1 has the configuration settings shows that that php did
in fact get compiled with support for that functionality.


Reply With Quote
  #3 (permalink)  
Old 03-24-2007
Tim Hunt
 
Posts: n/a
Default Re: multibyte string support


Andrew McLean wrote:

> I've just moved my web site from one server to another at the same
> hosting company (I upgraded to a better package). Unfortunately one of
> my WordPress plugins now complains about the absence of multibyte string
> support in PHP on the new server.
>
> What I don't understand is that phpinfo on that server
>
> http://www.middns1.co.uk/~westdorseuk/phpinfo.php
>
> shows the three important configuration settings were enabled, viz.
>
> '--enable-mbstring=shared' '--enable-mbstr-enc-trans' '--enable-mbregex'


'--enable-mbstring=shared'

Mbstring was compiled as an shared extension, check php.ini to make
sure extension=mbstring.so (and extension_dir='/path/to/extension/) or
extension='/path/to/extension/mbstring.so' has been set

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:30 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0