xref: /PHP-7.1/ext/pdo_dblib/README (revision 91c49c4a)
1This is the unified Sybase-DB style driver for PDO.
2
3This extension register itself as:
4	- 'mssql' when built against the Microsoft DBLIB library
5	- 'sybase' when built against Sybase ct-lib
6	- 'dblib' when built against FreeTDS
7
8The following database products are free for testing:
9	- Microsoft SQL Server Express (Windows Only)
10	- Sybase Adaptive Server (Windows, Linux, *NIX)
11	- Microsoft SQL Server Azure (One Month Trial Cloud Service)
12
13You must set the following environment variables to run the tests:
14	- PDO_DBLIB_TEST_DSN  - DSN (e.g., dblib:host=localhost;dbname=test)
15	- PDO_DBLIB_TEST_USER - database user
16	- PDO_DBLIB_TEST_PASS - database user password
17
18This extension supports multiple versions of the TDS protocol. There are
19behavioral differences between versions. When making changes, it's recommended
20to test across all supported versions. You can specify a version using a version
21parameter in the DSN. See dblib_driver.c:pdo_dblib_handle_factory() for valid
22values. Some tests check version-specific behavior by parsing this string, so
23it's best to use the DSN (rather than freetds.conf, etc.) to set the version.
24