PHP and MSDE 2000
| From: | Gunnar Peipman | Date: | Mon, 11 Feb 2002 17:50:32 +0000 |
| Subject: | PHP and MSDE 2000 | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-11986@lists.php.net to get a copy of this message | ||
Hi!
I have a problem when connecting to my MSDE database. I got the following
error:
X-Powered-By: PHP/4.1.1 Content-type: text/html
Fatal error: Call to undefined function: mssql_connect() in
D:\Inetpub\wwwroot\new_comp\test.php on line 2
PHP Warning: Unable to load dynamic library 'C:\Program
files\PHP\extensions\php_mssql.dll' - The specified module could not be
found. in Unknown on line 0
php_mssql.dll is in extensions directory and ntwdblib.dll is in dll-s
directory. In php.ini the extension php_mssql.dll is uncommented.
The script I'm using is following:
<?
$db=mssql_connect("myServer","myUserName","myPassword");
?>
System configuration is following Windows XP Pro, MSDE 2000, IIS 5.1. The
script directory is protected using Basic Authentication. MSDE 2000 uses NT
Integrated Security.
How can I fix this problem?
With best greetings,
G.Peipman