I am running Windows Server, MS Sql and IIS6. I am trying to connect php to sql sql database and I keep getting the following error from script
Fatal error: call to undefined function mssql_connect () on line .... on line x
I have installed zend studio in the directory C:\Program Files\Zend\ZendStudio-5.5.0
. Configure the IIS server and set the path variable to ;C:\Program Files\Zend\ZendStudio-5.5.0\bin\php5
. The zend studio folder contains php4 and php5 in the bin directory. I added extension=php_mssql.dll
to the php.ini
, which is located inside the C:\Program Files\Zend\ZendStudio-5.5.0\bin\php5
. And added php_mssql.dll
to ext dir. The php.ini
also placed in the path to the C:\WINDOWS
window.
source share