Edit report at https://bugs.php.net/bug.php?id=63638&edit=1
ID: 63638 Updated by: ssuffic...@php.net Reported by: pmeunier at cybergeneration dot com Summary: Cannot connect to SQL Server 2008 with PDO dblib -Status: Assigned +Status: Closed Type: Bug Package: PDO related Operating System: Linux Slackware 13 PHP Version: 5.4.9 Assigned To: laruence Block user comment: N Private report: N New Comment: The fix for this bug has been committed. 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/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2013-06-01 05:58:56] ssuffic...@php.net Automatic comment on behalf of ssufficool Revision: http://git.php.net/?p=php-src.git;a=commit;h=0e2bcf3373d914a215784c041a2a4c3b6afc2034 Log: FIX BUG #64338, #64808, #63638 ------------------------------------------------------------------------ [2013-03-20 19:01:12] jwatson at fh dot org A second pull request was submitted to merge to the PHP-5.4.13 branch, which is the latest branch for PHP 5.4. The original pull request above was for master. https://github.com/php/php-src/pull/308 ------------------------------------------------------------------------ [2013-03-20 18:43:00] jwatson at fh dot org A pull request was submitted with this patch. Please see the link below. https://github.com/php/php-src/pull/306 ------------------------------------------------------------------------ [2013-01-19 03:14:03] ssuffic...@php.net Looks like a Microsoft DBLIB versus FreeTDS issue. MS DBLIB requires the parameter to be NULL (per MSDN, possibly incorrect docs) while FreeTDS does not like the NULL parameter, thus I guess why I used "1" originally. The patch from 1 to NULL should be reverted. ------------------------------------------------------------------------ [2012-12-07 16:37:58] wdmeldon at gmail dot com I've tested this in SQL Server 2012, 2008 and 2005 with similar results. The warnings do not always manifest however. I've noticed returning output will prevent the warning as will calling other functions, but it's a crap shoot. The connection seems to be fine and the data returned is as well, so more annoying than anything else. Running Ubuntu Server 12.04 with PHP 5.4.9. ------------------------------------------------------------------------ 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 https://bugs.php.net/bug.php?id=63638 -- Edit this bug report at https://bugs.php.net/bug.php?id=63638&edit=1