duanlang1531 2016-02-03 15:02
浏览 400

CentOS 7:缺少mbstring扩展名

I've installed phpmyadmin (4.5.3.1) on CentOS 07 with apache server (httpd-2.4.18) and PHP 7.0.1. I get the error:

The mbstring extension is missing. Please check your PHP configuration.

So I searched the internet for this error and people came with the following solution, which I tried:

Installing the php-mbstring and php-mcrypt extensions:

yum install php-mbstring php-mcrypt php-gd

this command returns:

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

Please help me!

  • 写回答

2条回答 默认 最新

  • douyan2470 2016-02-03 15:06
    关注

    You need to check your php.ini and make sure it is loading the mbstring extension, or load it at runtime:

    Here for the ini extension loading:

    How do I configure php to enable pdo and include mysqli on CentOS?

    Here for runtime loading

    http://php.net/manual/en/function.dl.php

    评论

报告相同问题?

悬赏问题

  • ¥15 从键盘随机输入A-H中的一串字符串,用七段数码管方法进行绘制。提交代码及运行截图。
  • ¥15 TYPCE母转母,插入认方向
  • ¥15 如何用python向钉钉机器人发送可以放大的图片?
  • ¥15 matlab(相关搜索:紧聚焦)
  • ¥15 基于51单片机的厨房煤气泄露检测报警系统设计
  • ¥15 路易威登官网 里边的参数逆向
  • ¥15 Arduino无法同时连接多个hx711模块,如何解决?
  • ¥50 需求一个up主付费课程
  • ¥20 模型在y分布之外的数据上预测能力不好如何解决
  • ¥15 processing提取音乐节奏