title: Configuring PHP with MySQL and Apache
body: <p>I am trying to configure MySQL to be used with PHP and Apache. But getting the following error. I am not sure what to do.</p>
  
  <p><code>Fatal error: Call to undefined function mysql_connect()</code></p>
  
  <p>Please explain what are steps to configure MySQL with PHP and Apache. What changes are required in the <code>.ini</code> and <code>.dll</code> files.</p>
  
  <p>I am using the following versions:</p>
  
  <ul>
  <li>Apache: 2.2.19</li>
  <li>PHP: 5.3.8</li>
  <li>MySQL: 5.5.15</li>
  </ul>
  
  <p>I am using Windows machine.</p>