A new version of "Microsoft SQL Server Driver for PHP" (originally named "Microsoft SQL Server 2005 Driver for PHP") has been released that supports SQL Server 2008:
http://sql2k5php.codeplex.com
The driver leverages the ODBC driver included in the "Microsoft SQL Server 2008 Native Client" thus this PHP lib will only run on Windows.
You can download the ODBC driver from Microsoft's website for free as well at:
http://www.microsoft.com/downloads/details.aspx?FamilyId=228DE03F-3B5A-428A-923F-58A033D316E1&displaylang=en#SNAC
설치/설정
opc dot three at gmail dot com
02-Jun-2009 03:03
02-Jun-2009 03:03
robert dot johnson at icap dot com
24-Sep-2008 10:49
24-Sep-2008 10:49
Microsoft have provided a PHP driver for SQL Server 2005.
At the time of this note, the link to it is: http://msdn.microsoft.com/en-us/library/cc296221.aspx
If that doesn't work, search MSDN for "SQL Server 2005 Driver for PHP"
ksamuels at pleazNOSPAM dot sportsendeavors dot COM
18-Jun-2008 08:55
18-Jun-2008 08:55
I was having a difficult time getting four Windows 2003 Servers to connect to an MSSQL database with PHP 5.2.5 and IIS after already getting one such server to connect with no problems. I even copied the entire php directory and dlls to the other servers exactly as they were on the working server but continually got "Unable to connect to server" errors. The fix was to delete the ntwdblib.dll from the PHP directory. It was already in the C:\windows\system32 directory and this did not cause a problem on the first server but did on all the others.
jklowden at freetds dot org
27-May-2008 05:06
27-May-2008 05:06
The 30-character limitation does not apply to the FreeTDS db-lib implementation. FreeTDS returns column names of any length supported by the server (and protocol).
