title: Fatal error: Class: SQLi not found - Cannot connect mySqli to WAMP
body: <p>I have spent the last 2 hours trying to solve this problem. I keep getting this error when trying to connect my php script with mySqli that is all hosted on a WAMP local host. </p>
  
  <p><a href="https://pastebin.com/HrJsnspG" rel="nofollow noreferrer">https://pastebin.com/HrJsnspG</a></p>
  
  <pre><code>;extension_dir = "./"
  ; On windows:
  extension_dir = "C:\PHP7\ext"
  </code></pre>
  
  <p>I have added my pastebin above that shows my php.ini file. I changed the extensions as people have suggested on stack overflow and removed the ';' but nothing has worked, i still get the error. I have also reinstalled my WAMP server.</p>
  
  <p>Any further suggestions?</p>
  
  <pre><code>&lt;?php
  
    $servername = "localhost";
    $username = "root";
    $password = "";
  
    //create connection
    $conn = new sqli($servername, $username, $password);
  
    //check fann_get_total_connections
    if ($conn-&gt;connect_error) {
      die("Connection failed: " . $conn-&gt;connect_error);
    }
    echo "Connected Successfully";
  ?&gt;
  </code></pre>