[英]CentOS 7: The mbstring extension is missing
我已經在apache服務器(httpd-2.4.18)和PHP 7.0.1的CentOS 07上安裝了phpmyadmin(4.5.3.1)。 我得到錯誤:
mbstring擴展名丟失。 請檢查您的PHP配置。
因此,我在互聯網上搜索了此錯誤,然后人們嘗試了以下解決方案:
安裝php-mbstring
和php-mcrypt
擴展:
yum install php-mbstring php-mcrypt php-gd
該命令返回:
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.viethosting.vn
* epel: ftp.cuhk.edu.hk
* extras: mirrors.viethosting.vn
* updates: mirrors.viethosting.vn
Package php-mbstring-5.4.16-36.el7_1.x86_64 already installed and latest version
Package php-mcrypt-5.4.16-3.el7.x86_64 already installed and latest version
Package php-gd-5.4.16-36.el7_1.x86_64 already installed and latest version
Nothing to do
請幫我!
我想知道這個問題大概需要2個小時,而我唯一想念的就是重新啟動php-fpm
和httpd
。
因此,這條怪胎行解決了我的頭痛問題:
systemctl restart php-fpm
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.