PHP and MS SQL ?
| From: | Mark | Date: | Mon, 02 Feb 2004 18:15:42 +0000 |
| Subject: | PHP and MS SQL ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-176594@lists.php.net to get a copy of this message | ||
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.
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!