Skip to content

Files

Latest commit

Sep 21, 2016
e14636f · Sep 21, 2016

History

History
This branch is 42503 commits behind php/php-src:master.

pdo_dblib

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 21, 2016
Jan 17, 2005
Sep 13, 2016
Feb 6, 2015
May 19, 2009
Sep 21, 2016
Sep 21, 2016
May 2, 2006
Sep 13, 2016
Jan 1, 2016
Sep 13, 2016
This is the unified Sybase-DB style driver for PDO.

This extension register itself as:
	- 'mssql' when built against the Microsoft DBLIB library
	- 'sybase' when built against Sybase ct-lib
	- 'dblib' when built against FreeTDS

The following database products are free for testing:
	- Microsoft SQL Server Express (Windows Only)
	- Sybase Adaptive Server (Windows, Linux, *NIX)
	- Microsoft SQL Server Azure (One Month Trial Cloud Service)

You must set the following environment variables to run the tests:
	- PDO_DBLIB_TEST_DSN  - DSN (e.g., dblib:host=localhost;dbname=test)
	- PDO_DBLIB_TEST_USER - database user
	- PDO_DBLIB_TEST_PASS - database user password

This extension supports multiple versions of the TDS protocol. There are
behavioral differences between versions. When making changes, it's recommended
to test across all supported versions. You can specify a version using a version
parameter in the DSN. See dblib_driver.c:pdo_dblib_handle_factory() for valid
values. Some tests check version-specific behavior by parsing this string, so
it's best to use the DSN (rather than freetds.conf, etc.) to set the version.