centos部署LNMP,浏览器报错Class 'PDO' not found
前提:利用rpm安装php
做法:开启php和mysql的扩展
yum install php71w-pdo # 注意71w,不写会报错,安装失败
yum install php71w-mysql # 注意71w
参考链接:https://blog.csdn.net/qq_28766327/article/details/51058378
前提:利用rpm安装php
做法:开启php和mysql的扩展
yum install php71w-pdo # 注意71w,不写会报错,安装失败
yum install php71w-mysql # 注意71w
参考链接:https://blog.csdn.net/qq_28766327/article/details/51058378