We are running PHP 4.3.4 with an IIS 5 server on WIN 2K server. PHP works fine on the server, the problem is connecting to a MS SQL database. When I try to access the site I get the following message:
Fatal error: Call to undefined function: mssql_connect() in C:\newdata\linked\db_connect.php on line 2
I followed the instructions for MS SQL install from the site below.
http://www.php.net/manual/en/ref.mssql.php
I left out "To get these functions to work, you have to compile PHP with --with-mssql[=DIR], where DIR is the FreeTDS install prefix. And FreeTDS should be compiled using --enable-msdblib. ", b/c it seem like it didn't apply to Windows.
Any suggestions?
Thanks in advance.
Did you do this, and restart your web server....?
"The MSSQL extension is enabled by adding extension=php_mssql.dll to php.ini."
-- By-Tor.com It's all about the Rush http://www.by-tor.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php