diff --git a/reference/pdo_sqlsrv/configure.xml b/reference/pdo_sqlsrv/configure.xml index cf172f7158..9d6c9dbe27 100644 --- a/reference/pdo_sqlsrv/configure.xml +++ b/reference/pdo_sqlsrv/configure.xml @@ -4,17 +4,19 @@ &reftitle.install; The PDO_SQLSRV extension is enabled by adding appropriate DLL file to your PHP - extension directory and the corresponding entry to the &php.ini; file. The - PDO_SQLSRV download comes with several driver files. Which driver file you - use will depend on 3 factors: the PHP version you are using, whether you are - using thread-safe or non-thread-safe PHP, and whether your PHP installation - was compiled with the VC6 or VC9 compiler. For example, if you are running - PHP 5.3, you are using non-thread-safe PHP, and your PHP installation was - compiled with the VC9 compiler, you should use the php_pdo_sqlsrv_53_nts_vc9.dll - file. (You should use a non-thread-safe version compiled with the VC9 compiler - if you are using IIS as your web server). If you are running PHP 5.2, you are - using thread-safe PHP, and your PHP installation was compiled with the VC6 - compiler, you should use the php_pdo_sqlsrv_52_ts_vc6.dll file. + extension directory and the corresponding entry to the &php.ini; file. The + PDO_SQLSRV download comes 8 driver files, four of which are for PDO support. + If you are running non-thread-safe PHP (PHP 5.3), use the php_pdo_sqlsrv_53_nts.dll + file. (You should use a non-thread-safe version if you are using IIS as your + web server). If you are running thread-safe PHP, use the php_pdo_sqlsrv_53_ts.dll + file. Similarly for PHP 5.4, use the php_pdo_sqlsrv_54_nts.dll or php_pdo_sqlsrv_54_ts.dll + depending on whether your PHP installation is non-thread-safe or thread-safe. + + + The most recent version of the driver is available for download here: + SQLSRV 3.0 download. If you need support + for PHP 5.2 and/or PHP compiled with VC6, use the 2.0 release of the driver: + SQLSRV 2.0 download. For more information about system requirements, see diff --git a/reference/sqlsrv/book.xml b/reference/sqlsrv/book.xml index ababbab204..031e76665e 100644 --- a/reference/sqlsrv/book.xml +++ b/reference/sqlsrv/book.xml @@ -10,11 +10,16 @@ &reftitle.intro; The SQLSRV extension allows you to access Microsoft SQL Server and SQL Azure - databases when running PHP on Windows. + databases when running PHP on Windows. The 3.0 release of the driver supports + SQL Server, beginning with SQL Server 2005, including SQL Server 2012 and SQL + Server 2012 LocalDB. (For more information about LocalDB, see + PHP Driver for SQL Server Support for LocalDB + and SQL Server 2012 Express LocalDB.) The SQLSRV extension is supported by Microsoft and available for download here: - &url.sqlsrv;. + &url.sqlsrv;. SQL Server 2012 LocalDB can be + downloaded here: &url.sqlsrv.localdbdownload;. diff --git a/reference/sqlsrv/configure.xml b/reference/sqlsrv/configure.xml index 9ea8be58b7..01a17c13f4 100644 --- a/reference/sqlsrv/configure.xml +++ b/reference/sqlsrv/configure.xml @@ -4,17 +4,19 @@ &reftitle.install; The SQLSRV extension is enabled by adding appropriate DLL file to your PHP - extension directory and the corresponding entry to the &php.ini; file. The - SQLSRV download comes with several driver files. Which driver file you use - will depend on 3 factors: the PHP version you are using, whether you are using - thread-safe or non-thread-safe PHP, and whether your PHP installation was - compiled with the VC6 or VC9 compiler. For example, if you are running PHP 5.3, - you are using non-thread-safe PHP, and your PHP installation was compiled with - the VC9 compiler, you should use the php_sqlsrv_53_nts_vc9.dll file. (You should - use a non-thread-safe version compiled with the VC9 compiler if you are using - IIS as your web server). If you are running PHP 5.2, you are using thread-safe - PHP, and your PHP installation was compiled with the VC6 compiler, you should - use the php_sqlsrv_52_ts_vc6.dll file. + extension directory and the corresponding entry to the &php.ini; file. The SQLSRV + download comes 8 driver files, four of which are for PDO support. If you are + running non-thread-safe PHP (PHP 5.3), use the php_sqlsrv_53_nts.dll file. + (You should use a non-thread-safe version if you are using IIS as your web + server). If you are running thread-safe PHP, use the php_sqlsrv_53_ts.dll file. + Similarly for PHP 5.4, use the php_sqlsrv_54_nts.dll or php_sqlsrv_54_ts.dll + depending on whether your PHP installation is non-thread-safe or thread-safe. + + + The most recent version of the driver is available for download here: + SQLSRV 3.0 download. If you need support + for PHP 5.2 and/or PHP compiled with VC6, use the 2.0 release of the driver: + SQLSRV 2.0 download. For more information about SQLSRV requirements, see diff --git a/reference/sqlsrv/constants.xml b/reference/sqlsrv/constants.xml index af37bb2289..161f0989c2 100644 --- a/reference/sqlsrv/constants.xml +++ b/reference/sqlsrv/constants.xml @@ -844,7 +844,7 @@ Inidicates a forward-only cursor. For usage information, see - How to: Specify a Cursor Type. + Specifying a Cursor Type and Selecting Rows. @@ -856,19 +856,19 @@ Inidicates a static cursor. For usage information, see - How to: Specify a Cursor Type. + Specifying a Cursor Type and Selecting Rows. - SQLSRV_DYNAMIC + SQLSRV_CURSOR_DYNAMIC (integer) Inidicates a dynamic cursor. For usage information, see - How to: Specify a Cursor Type. + Specifying a Cursor Type and Selecting Rows. @@ -880,7 +880,19 @@ Inidicates a keyset cursor. For usage information, see - How to: Specify a Cursor Type. + Specifying a Cursor Type and Selecting Rows. + + + + + + SQLSRV_CURSOR_BUFFERED + (integer) + + + + Creates a client-side cursor query. Lets you access rows in any order. For usage information, see + Specifying a Cursor Type and Selecting Rows. @@ -892,7 +904,7 @@ Specifies which row to select in a result set. For usage information, see - How to: Specify a Cursor Type and Select Rows. + Specifying a Cursor Type and Selecting Rows. @@ -904,7 +916,7 @@ Specifies which row to select in a result set. For usage information, see - How to: Specify a Cursor Type and Select Rows. + Specifying a Cursor Type and Selecting Rows. @@ -916,7 +928,7 @@ Specifies which row to select in a result set. For usage information, see - How to: Specify a Cursor Type and Select Rows. + Specifying a Cursor Type and Selecting Rows. @@ -928,7 +940,7 @@ Specifies which row to select in a result set. For usage information, see - How to: Specify a Cursor Type and Select Rows. + Specifying a Cursor Type and Selecting Rows. @@ -940,7 +952,7 @@ Specifies which row to select in a result set. For usage information, see - How to: Specify a Cursor Type and Select Rows. + Specifying a Cursor Type and Selecting Rows. @@ -952,7 +964,7 @@ Specifies which row to select in a result set. For usage information, see - How to: Specify a Cursor Type and Select Rows. + Specifying a Cursor Type and Selecting Rows. diff --git a/reference/sqlsrv/setup.xml b/reference/sqlsrv/setup.xml index 68b3e21e64..eae3bcb5ce 100644 --- a/reference/sqlsrv/setup.xml +++ b/reference/sqlsrv/setup.xml @@ -10,18 +10,16 @@ The SQLSRV extension can be used on the following operating systems: - Windows Server 2003 Service Pack 1 - Windows XP Service Pack 3 - Windows Vista Service Pack 1 or later - Windows Server 2008 + Windows Vista Service Pack 2 or later + Windows Server 2008 Service Pack 2 or later Windows Server 2008 R2 Windows 7 - The SQLSRV extension requires that the Microsoft SQL Server 2008 R2 Native + The SQLSRV extension requires that the Microsoft SQL Server 2012 Native Client be installed on the same computer that is running PHP. If the Microsoft - SQL Server 2008 R2 is not already installed, click the appropriate link below + SQL Server 2012 Native Client is not already installed, click the appropriate link below to download it: Download the x86 package @@ -29,17 +27,19 @@ - The SQLSRV download comes with several driver files. Which driver file you - use will depend on 3 factors: the PHP version you are using, whether you - are using thread-safe or non-thread-safe PHP, and whether your PHP installation - was compiled with the VC6 or VC9 compiler. For example, if you are running - PHP 5.3, you are using non-thread-safe PHP, and your PHP installation was - compiled with the VC9 compiler, you should use the php_sqlsrv_53_nts_vc9.dll - file. (You should use a non-thread-safe version compiled with the VC9 compiler - if you are using IIS as your web server). If you are running PHP 5.2, you are - using thread-safe PHP, and your PHP installation was compiled with the VC6 - compiler, you should use the php_sqlsrv_52_ts_vc6.dll file. - + The SQLSRV download comes 8 driver files, four of which are for PDO support. + If you are running non-thread-safe PHP (PHP 5.3), use the php_sqlsrv_53_nts.dll + file. (You should use a non-thread-safe version if you are using IIS as your + web server). If you are running thread-safe PHP, use the php_sqlsrv_53_ts.dll + file. Similarly for PHP 5.4, use the php_sqlsrv_54_nts.dll or php_sqlsrv_54_ts.dll + depending on whether your PHP installation is non-thread-safe or thread-safe. + + + The most recent version of the driver is available for download here: + SQLSRV 3.0 download. If you need support + for PHP 5.2 and/or PHP compiled with VC6, use the 2.0 release of the driver: + SQLSRV 2.0 download. + For more information about SQLSRV requirements, see SQLSRV System Requirements.