Re: PHP and MSDE 2000
| From: | Christoph Grottolo | Date: | Mon, 11 Feb 2002 19:49:15 +0000 |
| Subject: | Re: PHP and MSDE 2000 | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-11990@lists.php.net to get a copy of this message | ||
Hi
ntwdblib.dll has to be in the system path (usually it resides in
%windir%\system32)
Christoph
"Gunnar Peipman" <gunnar.peipman@mail.ee> schrieb im Newsbeitrag
news:20020211175041.70489.qmail@pb1.pair.com...
| 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
|
|