Re: PHP and MS SQL ?
| From: | John Nichel | Date: | Mon, 02 Feb 2004 18:26:15 +0000 |
| Subject: | Re: PHP and MS SQL ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-176596@lists.php.net to get a copy of this message | ||
Mark wrote:
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