PHP 5.2.10 breaks PDO DBLIB support

Posted 22/06/2009 22:18

PHP 5.2.10 was released a few days ago.

At work we use a PHP script to monitor some of our MSSQL databases for data state, and immediately after upgrading they all started flagging connectivity issues.

This was not what I wanted at 17:15 on a Friday evening! Turns out that the server had not gone down, but infact PDO DBLIB in PHP 5.2.10 is broken and is unable to connect any more.

Seems there is a bug open for this already for PHP 5.3, however it is now affecting the stable branch.

So I spent Friday evening re-writing the scripts to use the good-old MSSQL module, which thankfully still works.