title: Class mysqli not found
body: <p>I have used <code>mysqli</code> to connect to the database in my application. It worked fine for a few days and suddenly it started showing the following error:</p>
  
  <blockquote>
    <p>Fatal error:  Class 'mysqli' not found</p>
  </blockquote>
  
  <p>The line I used to connect to the database is:</p>
  
  <pre><code> $link = new mysqli('localhost', 'uname', 'password', 'scripts');
  </code></pre>
  
  <p><em>Could you please tell me what might have gone wrong?</em></p>