php容器安装mysqli

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

posted @ 2019-08-14 09:37  吕涵之  阅读(436)  评论(0编辑  收藏  举报