title: Call to undefined function mysql_connect
body: <p>I just installed PHP and Apache on my home PC. When I try to call function <code>mysql_connect</code> I get:</p>
  
  <pre><code>fatal error: call to undefined function mysql_connect.
  </code></pre>
  
  <p>I have loaded php.ini where I have uncommented lines <code>extension=php_mysql.dll</code> and 
  <code>extension=php_mysqli.dll</code> and changed extension directory to <code>extension_dir = "C:\php\ext"</code> - which is the directory where files php_mysql.dll and php_mysqli.dll are. How can I fix this problem?</p>
  
  <p>Output of <strong>phpinfo():</strong>
  <a href="http://jsfiddle.net/MMTwA/" rel="nofollow">http://jsfiddle.net/MMTwA/</a></p>