Error with mysql_connect() at installation time

  1. Check if your php.ini has the mysqli enabled

$ php --ini | grep “Configuration File” // To see the correct file to check

  1. Change the driver on your config.inc.php

  2. Restart apache2

$ systemctl restart apache2