centos7 装了nginx 和 mariadb 以及php71u-fpm后,我开始尝试使用phpmyadmin 去连接数据库。

出现如下错误:
image1
网上着直接安装mbstring
yum install php-mbstring

于是搜索下:

[root@localhost www]# yum search php71u-mbstring
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.yun-idc.com
 * epel: mirror.premi.st
 * extras: mirrors.tuna.tsinghua.edu.cn
 * ius: mirrors.tuna.tsinghua.edu.cn
 * updates: mirrors.nwsuaf.edu.cn
 * webtatic: us-east.repo.webtatic.com
========================================================================= N/S matched: php71u-mbstring ==========================================================================
php71u-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling

  Name and summary matches only, use "search all" for everything.
[root@localhost www]#

果然有这个包,直接安装

yum -y install php71u-mbstring

然后重启php-fpm

systemctl restart php-fpm
刷新页面,出现了新的错误
image2

缺少json,直接yum search 然后安装

重启php-fpm