title: "Call to undefined .. mssql_connect" when using PHP in IIS?
body: <p>May is ask you about how to connect to Microsoft SQL server 2005 enterprise using PHP.</p>
  
  <p>I am using Appserv 2.5.10 ( Apache 2.2.8, PHP 5.2.6) and SQL server 2005</p>
  
  <p>After  I place the extension download from this link :</p>
  
  <pre><code>http://www.microsoft.com/en-us/download/details.aspx?id=20098
  </code></pre>
  
  <p>enable the php.ini file by adding these lines.</p>
  
  <pre><code>extension=php_pdo.dll
  extension=php_sqlsrv_52_ts_vc6.dll
  extension=php_pdo_sqlsrv_52_ts_vc6.dll
  </code></pre>
  
  <p>Restart Apache using this code to connect </p>
  
  <pre><code>$link = mssql_connect($server, $user, $pass);
  </code></pre>
  
  <p>Error shown in browser is</p>
  
  <blockquote>
    <p>Fatal error: Call to undefined function mssql_connect() in G:\AppServ\www\testmssql_connect.php on line 12 </p>
  </blockquote>
  
  <p>can anyone help me ?</p>
  
  <p>NOTE: i am using windows server 2003 and i don't found this OS in OS supporting list of Microsoft Driver 3.0 for PHP. Is this issue cause the problem ? </p>