PHP启动:无法加载动态库'pdo_mysql.so'

时间:2022-10-23 09:46:49

When I type php -v on the command line, I get the following error. I tried reinstalling php, but there is no change in the error.

当我在命令行上键入php -v时,出现以下错误。我尝试重新安装php,但错误没有变化。

PHP启动:无法加载动态库'pdo_mysql.so'

How can I fix it?

我该如何解决?

1 个解决方案

#1


-1  

Make sure to do:

一定要做:

sudo apt-get install php5-mcrypt
sudo apt-get install php5-mysql

#1


-1  

Make sure to do:

一定要做:

sudo apt-get install php5-mcrypt
sudo apt-get install php5-mysql