You can enable the MySQLi extension in php.ini. Do simply uncomment this line in php.ini:
extension=php_mysqli.dll
Then the MySQLi will be working well. So here is the php.ini file path in an Apache 2, PHP 7, and Ubuntu 14.04 environment:
/etc/php/7.0/apache2/php.ini
And by default, the MySQLi extension has been disabled in PHP 7.
Kick-start your career in SQL with the perfect SQL Course by Intellipaat now!