title: Fatal error: Call to undefined function mssql_connect() in php
body: <p>I'm running Windows Server, MS Sql and IIS6.  I am trying to connect php to ms sql database, and I keep getting the following error from the script</p>
  
  <blockquote>
    <p>Fatal error: Call to undefined function mssql_connect() in .... on line x</p>
  </blockquote>
  
  <p>I have install zend studio in <code>C:\Program Files\Zend\ZendStudio-5.5.0</code> directory.  Configure IIS server and set the path variable to <code>;C:\Program Files\Zend\ZendStudio-5.5.0\bin\php5</code> also.
  The zend studio folder contains php4 and php5 inside the bin dir. I have added <code>extension=php_mssql.dll</code> in the <code>php.ini</code> file which is inside the <code>C:\Program Files\Zend\ZendStudio-5.5.0\bin\php5</code> folder. And added <code>php_mssql.dll</code> in the ext dir. <code>php.ini</code> file is placed in windows path <code>C:\WINDOWS</code> also.</p>