#49344 [Opn->Fbk]: pdo_mssql fails to connect,throws PDOException SQLSTATE[] (null) (severity 0)
| From: | felipe@php.net | Date: | Tue, 08 Sep 2009 11:33:56 +0000 |
| Subject: | #49344 [Opn->Fbk]: pdo_mssql fails to connect,throws PDOException SQLSTATE[] (null) (severity 0) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-142092@lists.php.net to get a copy of this message | ||
ID: 49344
Updated by: felipe@php.net
Reported By: rockyjl at gmai dot com
-Status: Open
+Status: Feedback
Bug Type: PDO related
Operating System: win2003 X64
PHP Version: 5.2.11RC1
-Assigned To:
+Assigned To: felipe
New Comment:
Hi, Can you try this patch in 5.2.11-dev?
http://felipe.c2zlabs.com/diff/bug49344.diff
Previous Comments:
------------------------------------------------------------------------
[2009-09-08 09:37:12] Rockyjl at gmail dot com
Apache/2.2.13 (Win32) PHP/5.2.11RC3-dev
Error:
[2009-09-08 17:34:13]
127.0.0.1
ApacheBench/2.3
SQLSTATE[] (null) (severity 0)
Help !!! Who can help me ? please !
------------------------------------------------------------------------
[2009-09-03 09:26:14] rockyjl at gmail dot com
web server is Apache 2.2.11 and Apache 2.2.13 x86 no_ssl
------------------------------------------------------------------------
[2009-08-27 08:27:57] rockyjl at gmail dot com
php-5.2.11RC2-dev-win32-VC6-x86 has the Bug too!
Anyone can help me ? Please !
------------------------------------------------------------------------
[2009-08-25 02:08:48] rockyjl at gmail dot com
I upgrade to php-5.2.11RC2-dev-win32-VC6-x86 now !
Testing the bug ....
------------------------------------------------------------------------
[2009-08-24 10:06:51] rockyjl at gmai dot com
Description:
------------
in Bug #48539
[28 Jun 2:10am UTC] felipe@php.net
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Fixed in 5.2 and HEAD.
5.3 in soon.
Thanks.
But the bug still often happen in PHP 5.2.11RC1 ...
Could you tell me which version(win32 zip) can work in the environment
of win2003 x64 + apache 2.2.11 + sql2005,and the pdo_mssql can connect
DB successfully ??
Reproduce code:
---------------
function db()
{
try
{
$db = new PDO(DB_DSN, DB_User, DB_Password);
return $db;
}
catch (PDOException $e)
{
die($e->getMessage());
}
}
Expected result:
----------------
connect DB Successful
Actual result:
--------------
SQLSTATE[] (null) (severity 0)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49344&edit=1