The requested PHP extension ext-mysqli * is missing on php 7.2 on ubuntu 16.04
Solution 1:
This worked for me when I enabled the MySQLi extension, Enable MySQLi extension in php.ini, just uncommented this line in php.ini
extension=php_mysqli.dll
This is the php.ini file path
/etc/php/7.0/apache2/php.ini
This problem mainly occurs because by default MySQLi extension is disabled in PHP 7.x
Solution 2:
I solve the question by installing
$ sudo apt-get install php7.2-fpm php7.2-cli php7.2-mysql php7.2-gd php7.2-imagick php7.2-recode php7.2-tidy php7.2-xmlrpc php7.2-common php7.2-curl php7.2-mbstring php7.2-xml php7.2-bcmath php7.2-bz2 php7.2-intl php7.2-json php7.2-readline php7.2-zip
But I don't know why?