title: Getting MySQLi error on Moodle Setup on Ubuntu 18.04 with PHP7.4
body: <p>I'm trying to install Moodle 3.9.7 on Ubuntu 18.04 and have been following the <a href="https://docs.moodle.org/311/en/Step-by-step_Installation_Guide_for_Ubuntu" rel="nofollow noreferrer">official installation guide</a></p>
  <p>On Step 7 (Browser setup) I am getting the following error when setting up the database:</p>
  <blockquote>
  <p>Error: database driver problem detected</p>
  <p>The site administrator should verify server configuration</p>
  <p>PHP has not been properly configured with the MySQLi extension for it
  to communicate with MySQL. Please check your php.ini file or recompile
  PHP.</p>
  </blockquote>
  <p>I've tried going to on <code>/etc/php/7.2/apache2/php.ini</code> and uncommenting <code>;extension=mysqli</code> but it hasn't solved the issue for me.</p>
  <p>Has anybody gotten this error or found an alternative solution to it?</p>