當phpMyAdmin提示 找不到 PHP 內的 mbstring 編碼模組 時 ,該如何解決 ?
當使用的 Linux 發行版為 Fedora core 或其他 Red Hat base 則 ,使用 yum 指令及可輕鬆解決 !!
請參考以下範例:
[root@dns php.d]# yum -y install php-mbstring
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package php-mbstring.i386 0:5.2.4-3 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
php-mbstring i386 5.2.4-3 fedora 1.1 M
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 1.1 M
Downloading Packages:
(1/1): php-mbstring-5.2.4 100% |=========================| 1.1 MB 00:07
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: php-mbstring ######################### [1/1]
Installed: php-mbstring.i386 0:5.2.4-3
Complete!
[root@dns php.d]#
安裝完成 ,記得重新啟動 Apache HTTP Server ,問題已經被解決!!