phpubuntumysqliorange-piarmbian

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:~#

How i can enable and fix MYSQLI? PhpAdmin error screen


Solution

  • Fix by

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

    in php.ini