#43888 [Com]: mssql_connect fails with an SSL enabled SQL server
| From: | hack dot is dot tank at gmail dot com | Date: | Fri, 18 Jan 2008 12:26:43 +0000 |
| Subject: | #43888 [Com]: mssql_connect fails with an SSL enabled SQL server | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-121392@lists.php.net to get a copy of this message | ||
ID: 43888
Comment by: hack dot is dot tank at gmail dot com
Reported By: tank dot is dot hank at gmail dot com
Status: Open
Bug Type: MSSQL related
Operating System: Windows 2003
PHP Version: 5.2.5
New Comment:
An ODBC connection seems to work, which I believe will fix the problem
for me.
Previous Comments:
------------------------------------------------------------------------
[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