php容器安装mysqli
[root@lvhanzhi ~]# docker exec -it phpfpm /bin/bash
root@fa7d0a9c89d5:/var/www/html# cd /usr/local/bin
root@fa7d0a9c89d5:/usr/local/bin# ./docker-php-ext-install pdo_mysql
root@fa7d0a9c89d5:/usr/local/bin# ./docker-php-ext-install mysqli
[root@lvhanzhi ~]# docker restart phpfpm