在windows本机上测试好的Thinkphp5代码部署到centos7阿里云主机上面就提示class pdo not found,网上搜索了一大堆终于解决了。不过隔了这么几个小时详细的步骤就有些忘记了,只能简单的写下了。

1.提示 class pdo not found后测试用yum install php-pdo -y

2.后面又提示 could not find driver的错误,其实用 yum install php-mysql即可

相关文章:

  • 2022-12-23
  • 2021-10-28
  • 2022-12-23
  • 2021-08-24
  • 2021-10-10
  • 2022-01-30
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-19
  • 2021-08-22
  • 2021-11-20
相关资源
相似解决方案