0
root@orangepilite:~# php -e 'phpInfo();' | grep -i mysqli
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/mysqli.so' - /usr/lib/php/20151012/mysqli.so: undefined symbol: mysqlnd_connect in Unknown on line 0
root@orangepilite:~# ^C

root@orangepilite:~# apt-get install php-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
php-mysql is already the newest version (1:7.0+35ubuntu6.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@orangepilite:~#

我如何启用和修复 MYSQLI?PhpAdmin 错误屏幕

4

1 回答 1

1

修复

extension=/usr/lib/php/20151012/mysqlnd.so
extension=/usr/lib/php/20151012/mysqli.so

在 php.ini 中

于 2019-11-16T11:27:01.120 回答