title: Fatal error: Call to undefined function mssql_connect() or sqlsrv_connect() in xampp
body: <p>I did all the changes given <a href="https://stackoverflow.com/questions/9986804/php-fatal-error-call-to-undefined-function-mssql-connect">here</a> but I still not connect SQL server on my php 5.6 version.</p>
  
  <p>I tried with <code>mssql_connect()</code> and <code>sqlsrv_connect()</code> both.</p>
  
  <p>I changed </p>
  
  <p><code>; On windows: extension_dir = "ext"</code></p>
  
  <p>to:</p>
  
  <p><code>; On windows: extension_dir = "D:\xampp\php\ext"</code></p>
  
  <p>I have installed <code>.dll</code>s too. But result is still:</p>
  
  <blockquote>
    <p>Fatal error: Call to undefined function sqlsrv_connect() </p>
  </blockquote>
  
  <p>or </p>
  
  <blockquote>
    <p>Fatal error: Call to undefined function mssql_connect()</p>
  </blockquote>
  
  <p>can anyone help me??</p>