为PHP安装mbstring扩展
如果运行phpMyAdmin发现如下错误:
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.
是因为没有mbstring扩展所致,解决方法如下
在SSH登录LINUX后执行以下命令:
1.执行
yum install php-mbstring
2. 修改php.ini (这一步非常重要, 部分lxadmin版本无法自动修改)
echo ‘extension=mbstring.so’ >>/usr/local/lxlabs/ext/php/etc/php.ini
3. 重启web service
如果是apache: service httpd restart
如果是lighttpd: service lighttpd restart