[PHP-DB] RE: Problem installing mssql extension

2006-01-25 Thread Jim McDonald
mssql has a dependency on mysql.  Go figure. 

MySQL has some dependencies, also, although they are a little easier to
find info on and do not require installing other extensions.  If you
have the PHPRC system path set to your Windows PHP directory, you should
be OK.  Otherwise you may have to copy some additional files to the
system32 directory.

-jim

-Original Message-
From: Andrew Kleimeyer [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 24, 2006 10:56 PM
To: php-db@lists.php.net
Subject: Problem installing mssql extension

I've read all the documentation, and tried every suggestion, but I'm
still unable to run the mssql extension.  When I uncomment the line in
php.ini, PHP crashes.

My system:
Windows 2000
IIS 5.0
PHP Version 5.1.2-dev

What I have tried:
I've placed the ntwdblib.dll that came with php into the winnt/system32/
directory.  Nothing.
I've placed the ntwdblib.dll that is running on my mssql machine into
winnt/system32/ directory on the php machine.  Nothing.
I've copied the php_mssql.dll into the winnt/system32/ directory on the
php machine. Nothing.

Any ideas would be greatly appreciated.

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] RE: Problem installing mssql extension

2006-01-25 Thread Frank M. Kromann
The MSSQL extension does not rely on MySQL in any way. The only required
DLL is ntwdblib.dll.

It would help if you could post any error messages or some sample code
that shows your problem.

The 'correct' installation is to copy ntwdblib.dll to windows\system32 on
the system that runs the PHP scripts. It's even better to install the MS
SQL Server Client libs. These are fouind on the MS SQL Server CD. This
will install the Query Analyzer that can be used to check the connection,
but it also installs tools that lets you configure the default protocol
(NetBios is default if you don't install these) and create Server
aliases.

- Frank

 mssql has a dependency on mysql.  Go figure. 
 
 MySQL has some dependencies, also, although they are a little easier to
 find info on and do not require installing other extensions.  If you
 have the PHPRC system path set to your Windows PHP directory, you
should
 be OK.  Otherwise you may have to copy some additional files to the
 system32 directory.
 
 -jim
 
 -Original Message-
 From: Andrew Kleimeyer [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, January 24, 2006 10:56 PM
 To: php-db@lists.php.net
 Subject: Problem installing mssql extension
 
 I've read all the documentation, and tried every suggestion, but I'm
 still unable to run the mssql extension.  When I uncomment the line in
 php.ini, PHP crashes.
 
 My system:
 Windows 2000
 IIS 5.0
 PHP Version 5.1.2-dev
 
 What I have tried:
 I've placed the ntwdblib.dll that came with php into the
winnt/system32/
 directory.  Nothing.
 I've placed the ntwdblib.dll that is running on my mssql machine into
 winnt/system32/ directory on the php machine.  Nothing.
 I've copied the php_mssql.dll into the winnt/system32/ directory on the
 php machine. Nothing.
 
 Any ideas would be greatly appreciated.
 
 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php