我的知识记录

请问could not find driver

运行报如下错误是因为docker安装的php-fpm是没有带pdo_mysql扩展的,需要自行安装

could not find driver

解决方法:

#进入myphp容器,安装扩展 docker exec -it myphp /bin/bash cd /usr/local/bin/ docker-php-ext-install pdo_mysql #退出myphp容器,重启容器 Ctrl+p+q docker restart myphp docker restart mynginx

标签:couldnotfindfilesystemdlltoload-couldnotfindgameversion1.0红警3-couldnotfindswconf

更新时间:2025-04-10 23:18:21

上一篇:请问zblogPHP后台时一切正常,但登出后再次登录提示“错误原因_登录失败;帐户和密码都是对的

下一篇:请问PbootCMS模版制作:当天发布的文章显示红色的方法