title: Uncaught Error: Call to undefined function mysqli_connect()
body: <p>(OS: Windows 10; XAMPP v3.2.2; Visual Studio Code 1.20.0)</p>
  
  <p>I have a problem with php mysqli. It says that the function mysqli_connect isn't definded. There are a lot of solutions I tried - even in Stack Overflow - but none of this solutions work for me.</p>
  
  <p>I've upgraded PHP from 5 to 7. In my phpinfo mysqli not seems to be enabled. So I checked if there is a php_mysqli.dll file in my php-folder (I had exchanged the php folder in xampp-folder with the new php (7) folder). I found in "C:\xampp\php\ext". So the next step was to check the php.ini for "extension=php_mysqli.dll". I found and removed the ";" in front of it. I saved the document and restarted the Apache-Server. It doesn't work.</p>
  
  <p>The exception thrown is:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>    &lt;br /&gt; 
  &lt;b&gt;Fatal error&lt;/b&gt;:  Uncaught Error: Call to undefined function mysqli_connect() in C:\xampp\htdocs\BMult\Archive.php:5
  Stack trace:
  #0 {main}
    thrown in &lt;b&gt;C:\xampp\htdocs\BMult\Archive.php&lt;/b&gt; on line &lt;b&gt;5&lt;/b&gt;&lt;br /&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>The statement throwing the error is:</p>
  
  <pre><code>$con = mysqli_connect('localhost', 'user', 'password', 'database');
  </code></pre>