title: PHP 7.4.1 Uncaught Error: Call to undefined function mysqli_connect()
body: <p>My question is just similar to this <a href="https://stackoverflow.com/questions/49109173/php-7-2-1-uncaught-error-class-mysqli-not-found?noredirect=1&amp;lq=1">question</a> but I am using PHP version 7.4.1 in Windows 7 [32bit].</p>
  <pre><code>&lt;?php
  if(!function_exists('mysqli_init') &amp;&amp; !extension_loaded('mysqli')){
          echo 'We don\t have mysqli'; 
      }
      else{
          echo'Yes';
      }
      mysqli_connect('localhost', &quot;root&quot;, &quot;&quot;, &quot;akash&quot;);
  ?&gt;
  </code></pre>
  <p><strong>It returns:</strong></p>
  <blockquote>
  <p>We don\t have mysqli</p>
  <p>Fatal error: Uncaught Error: Call to undefinedfunction mysqli_connect()</p>
  </blockquote>
  <p><strong>What I have tried:</strong></p>
  <p>As I have seen various answers on this problem and all the answers is simply based on the <em>php.inf</em>  file but in my php directory there is no file of this name and  so after looking on how to install this I couldn't really find a way, after visiting <a href="http://php.net/manual/en/mysqli.installation.php" rel="nofollow noreferrer">http://php.net/manual/en/mysqli.installation.php</a>, I scrolled down to find the &quot;PHP 5.3.0 and newer&quot; section where it says I wouldn't need to worry about installing it.</p>