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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
> 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. |
|
|||
|
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 |