我有一个vps服务器,我安装了nginx + php-fpm,现在我的mb_strtolower()函数有问题,这是我的php信息,请到这个地址查看我的php信息。
http://207.182.153.237/test.php如何修复此错误?
发布于 2014-03-13 03:50:18
您需要按照here的说明安装PHP多字节扩展("mbstring")。
发布于 2014-01-12 18:55:06
在您的php.ini中搜索此行:
;zend.multibyte = Off并将其更改为:
zend.multibyte = On发布于 2015-08-16 19:43:17
基于Phil Rykoff和omeinusch的回答:这是我从源代码构建php以支持php 5.4.43 / Centos 7.1.1503上的reportico 3.2的配置行
/configure --with-apxs2=/opt2/canal/apache/bin/apxs --with-mysql
--with-pdo-mysql --prefix=/opt2/canal/php --enable-mbstring --with-gd--enable-mbstring与此问题相关。
(镜像处理需要--with-gd(还需要yum install libpng-devel以避免丢失png.h消息)
然后需要在php.ini中设置以下内容:
zend.multibyte = Onhttps://stackoverflow.com/questions/21073747
复制相似问题