Php 7.0 Armbian,我该如何修复 Mysqli?
Php 7.0 Armbian,how i can FIX Mysqli?
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:~#
如何启用和修复 MYSQL?
PhpmyAdmin 错误 screen
修复
extension=/usr/lib/php/20151012/mysqlnd.so
extension=/usr/lib/php/20151012/mysqli.so
在php.ini
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:~#
如何启用和修复 MYSQL? PhpmyAdmin 错误 screen
修复
extension=/usr/lib/php/20151012/mysqlnd.so
extension=/usr/lib/php/20151012/mysqli.so
在php.ini