PHP 7.2.18|您的PHP安装似乎缺少WordPress所需的MySQL扩展

时间:2019-05-03 作者:Best Dev Tutorials

我在运行PHP 7.2.18时收到此消息

编辑:如果有什么不同,当我使用PHP-v从命令行运行PHP时,它会说我正在运行7.3.5

我运行这个命令来安装:apt get install php7.3mysqlnd

以下是生成的响应:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting \'php7.3-mysql\' instead of \'php7.3-mysqlnd\'
php7.3-mysql is already the newest version (7.3.5-1+ubuntu18.04.1+deb.sury.org+1).
The following package was automatically installed and is no longer required:
  grub-pc-bin
Use \'sudo apt autoremove\' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 78 not upgraded.
有人知道我应该安装什么软件包吗?

谢谢

1 个回复
SO网友:Best Dev Tutorials

显然我需要跑步:

apt-get install php7.2-mysql