title: Linux PHP Fatal error: Call to undefined function mysqli_connect()
body: <p>I have a problem regarding connecting the database it is giving this error</p>
  
  <pre><code>Fatal error: Call to undefined function mysqli_connect()
  </code></pre>
  
  <p>Which, I have spend the past 4 hours trying to figured out and I already did these steps:</p>
  
  <ol>
  <li>Change extension=mysql.so and extension=mysqli.so</li>
  <li>extension_dir=/PATH for php.ini</li>
  <li>Checked which modules are loaded or install with php - m</li>
  </ol>
  
  <p>I JUST PUT MY INFOPHP() IN PASTEBIN SORRY, MY WEBSITE IS RUNNING UNDER USERNAME AND PASSWORD PROTECTING BECAUSE IS A PRIVATE UNIVERSITY SERVER..</p>
  
  <p><a href="http://pastebin.com/dKKdwWTb" rel="nofollow">http://pastebin.com/dKKdwWTb</a></p>
  
  <p>I am not too sure what else I can do about, just in case I have added the link for paste bin for my php.ini file</p>
  
  <p><a href="http://pastebin.com/QNK6mGqV" rel="nofollow">http://pastebin.com/QNK6mGqV</a></p>
  
  <p>Well, I hope someone could see what I have been able to see and could help me out.</p>