I also uncommented “extension = php_mysqli.dll” Line in /etc/php/7.0/apache2/php.ini and still not working. Http: //localhost/xibo/install.php in the line of MySQL database (MySQL PHP) state X (not ok) appears.
I have:
Xibo Current Release 1.7.9
Linux Mint 18 Sarah
ii apache2 2.4.18-2ubuntu3.1 amd64 Apache HTTP Server
ii apache2-bin 2.4.18-2ubuntu3.1 amd64 Apache HTTP Server (modules and other binary files)
ii apache2-data 2.4.18-2ubuntu3.1 all Apache HTTP Server (common files)
ii apache2-utils 2.4.18-2ubuntu3.1 amd64 Apache HTTP Server (utility programs for web servers)
ii libapache2-mod-auth-memcookie 1.0.2-8 amd64 Apache2 authentication and authorization module.
ii libapache2-mod-php 1:7.0+35ubuntu6 all server-side, HTML-embedded scripting language (Apache 2 module) (default)
ii libapache2-mod-php7.0 7.0.8-0ubuntu0.16.04.2 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
ii php-mysql 1:7.0+35ubuntu6 all MySQL module for PHP [default]
ii php7.0-mysql 7.0.8-0ubuntu0.16.04.2 amd64 MySQL module for PHP
You’re confusing me with .dll; .dll is for Windows, .so is for everything else. What is your actual platform?
You need to use the MySQLi extension or PDO_MySQL. Make sure the .dll is actually in the correct place and your php.ini is looking in the correct place:
On Windows:
extension_dir = "C:/php/ext"
extension=php_mysqli.dll
restart Apache and/or PHP-FPM
On Linux
install php7-mysqli with your package manager
extension=php_mysqli.so
Although on newer Linux distros, your extensions may also be individually listed in a configuration directory (nginx sites-enabled style)