No SQL Server Library for PHP 5.3 Just Yet

August 7th, 2009 | Tags: , , ,

Update: This article is considered outdated. I’ve started an IIS Tutorial Series on Talking to SQL Server with PHP on IIS.

Last time I posted about PHP deciding to remove the MS SQL Server Connection driver and library from the PHP 5.3 package, and mentioned that Microsoft now has its own version of the MS SQL Server driver for PHP.  I’ve decided to start playing around with it and after a few hours of no luck getting it to work with PHP 5.3 (it doesn’t show up in phpinfo), I’ve decided to do a search on it.  What I’ve found on the MSDN message boards was that the MS SQL  Server driver PHP, version 1.0 (the current and version), does not have support for PHP 5.3. (reference)  Not until version 1.1 comes out, at least. This is rather stupid considering now there is no direct MS SQL Server driver for PHP 5.3.  The only way I know of is to use an ODBC connection.

  1. Maybeme
    August 11th, 2009 at 02:50
    Reply | Quote | #1

    Ow, and now I see I replied on the wrong message…
    See my comments in “Installing PHP 5.3 on Microsoft IIS” for a php_mssql.dll download.