ID:               43888
 Updated by:       ka...@php.net
 Reported By:      tank dot is dot hank at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         MSSQL related
 Operating System: Windows 2003
 PHP Version:      5.2.5
 New Comment:

Have you set the mssql.secure_connection ini option to true?


Previous Comments:
------------------------------------------------------------------------

[2008-01-18 12:26:42] hack dot is dot tank at gmail dot com

An ODBC connection seems to work, which I believe will fix the problem
for me.

------------------------------------------------------------------------

[2008-01-18 09:06:30] tank dot is dot hank at gmail dot com

Description:
------------
mssql_connect stopped working after we enabled SSL on our SQL server.
The only error message we are getting is: 
Warning: mssql_connect(): Unable to connect to: OURSERVER.local in
C:\site\DB.php on line 82

A sniffer shows it is able to open a connection to the server, but
after a couple of seconds the connection is closed. We are able to
connect using SQLCMD.EXE

Reproduce code:
---------------
mssql_connect('OURSERVER.local', 'myuser', 'mypass');

Actual result:
--------------
Warning: mssql_connect(): Unable to connect to: OURSERVER.local in
C:\site\DB.php on line 82


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=43888&edit=1

Reply via email to