Kloxo/lxadmin不支持mb_substr,如何安装mbstring?
Kloxo/lxadmin面板默认不支持mbstrin,不支持mb_substr等函数。怎么办?如何安装mbstring?
Kloxo安装mbstring的方法:ssh登录
[root@vps105 www.ctohome.com]# yum install php-mbstring
Loading “installonlyn” plugin
Setting up Install Process
Setting up repositories
lxlabsupdate 100% |=========================| 951 B 00:00
lxlabslxupdate 100% |=========================| 951 B 00:01
base 100% |=========================| 2.1 kB 00:00
updates 100% |=========================| 1.9 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 2.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
–> Populating transaction set with selected packages. Please wait.
—> Downloading header for php-mbstring to pack into transaction set.
php-mbstring-5.2.6-5.i386 100% |=========================| 14 kB 00:00
—> Package php-mbstring.i386 0:5.2.6-5 set to be updated
–> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
php-mbstring i386 5.2.6-5 lxlabsupdate 1.0 M
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 1.0 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): php-mbstring-5.2.6 100% |=========================| 1.0 MB 00:01
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: php-mbstring ######################### [1/1]
Installed: php-mbstring.i386 0:5.2.6-5
Complete!
然后在kloxo面板重启apache或lighttpd即可!