#40034 [Com]: mssql_connect(): Unable to connect to server
| From: | wrossmann at gmail dot com | Date: | Mon, 08 Jun 2009 16:36:34 +0000 |
| Subject: | #40034 [Com]: mssql_connect(): Unable to connect to server | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-138107@lists.php.net to get a copy of this message | ||
ID: 40034
Comment by: wrossmann at gmail dot com
Reported By: chris dot clos at lmcu dot org
Status: Assigned
Bug Type: MSSQL related
Operating System: Windows Server 2003
PHP Version: 5.2.0
Assigned To: fmk
New Comment:
Same issue under 5.2.1.1, solved as above. We deploy this same solution
to dozens of IIS6/PHP servers with several hundred domains and have not
detected any apparent incidental functionality issues.
Previous Comments:
------------------------------------------------------------------------
[2008-12-11 19:51:39] parvesh_k at hotmail dot com
I have a windows dll version 2000.80.194.0 and use php 5.2.6
I am trying to connect to MSQL2K5 but get a following error "Unable to
connect to server: "
I have following option turned on mssql.secure_connection = On in
php.ini
------------------------------------------------------------------------
[2008-10-10 10:40:09] hamzeh dot shaar at ifpexpo dot com
Guys, I have the same problem. I have php 5.2.6 on IIS 6. I cannot
connect from it my SQL server 2000 (MSDE) running on the same machine
knowing that i have another PHP installation 5.2.5 on the same LAN and
it connects to the same MSDE 2000 Normally.
I tried copying php5isapi.dll and ntwdblib from the working machine to
the other and still it dd not work.
any suggesstions?
------------------------------------------------------------------------
[2008-10-10 08:35:20] dirk dot melcher at mdk-nord dot de
thanks everybody for the hints that helped me a lot!
I'm using php Version 4.2.1 and the same problem applied to me.
I downloaded an appropriate version of ntwdblib.dll at:
http://www.dlldll.com/ntwdblib.dll_download.html
Bye,
Dirk
------------------------------------------------------------------------
[2008-09-18 13:14:23] spanidis at certh dot gr
Hello to everyone.
Could you please tell us where can we download ntwdblib.dll (ver.
2000.80.2039.0) from?
Thanks for your help
Pavlos
------------------------------------------------------------------------
[2008-08-15 11:51:08] php at blazemonger dot com
I am experiencing this on Linux (CentOS 5) with the stock PHP 5.1.6 and
PHP 5.2.6. It is intermittent -- the same SQL query to the same DB
server will work sometimes, fail other times.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/40034
--
Edit this bug report at http://bugs.php.net/?id=40034&edit=1