sqlsrv: Updated manual for recent 3.0.1 release.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325010 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jonathan Guerin 2012-04-10 15:59:59 +00:00
parent d06666a2f7
commit 906a1146b6
5 changed files with 73 additions and 52 deletions

View file

@ -4,17 +4,19 @@
&reftitle.install;
<para>
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.
</para>
<para>
The most recent version of the driver is available for download here:
<link xlink:href="&url.sqlsrv;">SQLSRV 3.0 download</link>. If you need support
for PHP 5.2 and/or PHP compiled with VC6, use the 2.0 release of the driver:
<link xlink:href="&url.sqlsrv.v2driverdownload;">SQLSRV 2.0 download</link>.
</para>
<para>
For more information about system requirements, see

View file

@ -10,11 +10,16 @@
&reftitle.intro;
<para>
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
<link xlink:href="&url.sqlsrv.localdb;">PHP Driver for SQL Server Support for LocalDB</link>
and <link xlink:href="&url.sqlsrv.localdbinfo;">SQL Server 2012 Express LocalDB</link>.)
</para>
<para>
The SQLSRV extension is supported by Microsoft and available for download here:
<link xlink:href="&url.sqlsrv;">&url.sqlsrv;</link>.
<link xlink:href="&url.sqlsrv;">&url.sqlsrv;</link>. SQL Server 2012 LocalDB can be
downloaded here: <link xlink:href="&url.sqlsrv.localdbdownload;">&url.sqlsrv.localdbdownload;</link>.
</para>
</preface>
<!-- }}} -->

View file

@ -4,17 +4,19 @@
&reftitle.install;
<para>
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.
</para>
<para>
The most recent version of the driver is available for download here:
<link xlink:href="&url.sqlsrv;">SQLSRV 3.0 download</link>. If you need support
for PHP 5.2 and/or PHP compiled with VC6, use the 2.0 release of the driver:
<link xlink:href="&url.sqlsrv.v2driverdownload;">SQLSRV 2.0 download</link>.
</para>
<para>
For more information about SQLSRV requirements, see

View file

@ -844,7 +844,7 @@
<listitem>
<simpara>
Inidicates a forward-only cursor. For usage information, see
<link xlink:href="&url.sqlsrv.specify.cursortype;">How to: Specify a Cursor Type</link>.
<link xlink:href="&url.sqlsrv.specify.cursortype;">Specifying a Cursor Type and Selecting Rows</link>.
</simpara>
</listitem>
</varlistentry>
@ -856,19 +856,19 @@
<listitem>
<simpara>
Inidicates a static cursor. For usage information, see
<link xlink:href="&url.sqlsrv.specify.cursortype;">How to: Specify a Cursor Type</link>.
<link xlink:href="&url.sqlsrv.specify.cursortype;">Specifying a Cursor Type and Selecting Rows</link>.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.sqlsrv-dynamic">
<term>
<constant>SQLSRV_DYNAMIC</constant>
<constant>SQLSRV_CURSOR_DYNAMIC</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
Inidicates a dynamic cursor. For usage information, see
<link xlink:href="&url.sqlsrv.specify.cursortype;">How to: Specify a Cursor Type</link>.
<link xlink:href="&url.sqlsrv.specify.cursortype;">Specifying a Cursor Type and Selecting Rows</link>.
</simpara>
</listitem>
</varlistentry>
@ -880,7 +880,19 @@
<listitem>
<simpara>
Inidicates a keyset cursor. For usage information, see
<link xlink:href="&url.sqlsrv.specify.cursortype;">How to: Specify a Cursor Type</link>.
<link xlink:href="&url.sqlsrv.specify.cursortype;">Specifying a Cursor Type and Selecting Rows</link>.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.sqlsrv-cursor-buffered">
<term>
<constant>SQLSRV_CURSOR_BUFFERED</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
Creates a client-side cursor query. Lets you access rows in any order. For usage information, see
<link xlink:href="&url.sqlsrv.specify.cursortype;">Specifying a Cursor Type and Selecting Rows</link>.
</simpara>
</listitem>
</varlistentry>
@ -892,7 +904,7 @@
<listitem>
<simpara>
Specifies which row to select in a result set. For usage information, see
<link xlink:href="&url.sqlsrv.specify.cursortype;">How to: Specify a Cursor Type and Select Rows</link>.
<link xlink:href="&url.sqlsrv.specify.cursortype;">Specifying a Cursor Type and Selecting Rows</link>.
</simpara>
</listitem>
</varlistentry>
@ -904,7 +916,7 @@
<listitem>
<simpara>
Specifies which row to select in a result set. For usage information, see
<link xlink:href="&url.sqlsrv.specify.cursortype;">How to: Specify a Cursor Type and Select Rows</link>.
<link xlink:href="&url.sqlsrv.specify.cursortype;">Specifying a Cursor Type and Selecting Rows</link>.
</simpara>
</listitem>
</varlistentry>
@ -916,7 +928,7 @@
<listitem>
<simpara>
Specifies which row to select in a result set. For usage information, see
<link xlink:href="&url.sqlsrv.specify.cursortype;">How to: Specify a Cursor Type and Select Rows</link>.
<link xlink:href="&url.sqlsrv.specify.cursortype;">Specifying a Cursor Type and Selecting Rows</link>.
</simpara>
</listitem>
</varlistentry>
@ -928,7 +940,7 @@
<listitem>
<simpara>
Specifies which row to select in a result set. For usage information, see
<link xlink:href="&url.sqlsrv.specify.cursortype;">How to: Specify a Cursor Type and Select Rows</link>.
<link xlink:href="&url.sqlsrv.specify.cursortype;">Specifying a Cursor Type and Selecting Rows</link>.
</simpara>
</listitem>
</varlistentry>
@ -940,7 +952,7 @@
<listitem>
<simpara>
Specifies which row to select in a result set. For usage information, see
<link xlink:href="&url.sqlsrv.specify.cursortype;">How to: Specify a Cursor Type and Select Rows</link>.
<link xlink:href="&url.sqlsrv.specify.cursortype;">Specifying a Cursor Type and Selecting Rows</link>.
</simpara>
</listitem>
</varlistentry>
@ -952,7 +964,7 @@
<listitem>
<simpara>
Specifies which row to select in a result set. For usage information, see
<link xlink:href="&url.sqlsrv.specify.cursortype;">How to: Specify a Cursor Type and Select Rows</link>.
<link xlink:href="&url.sqlsrv.specify.cursortype;">Specifying a Cursor Type and Selecting Rows</link>.
</simpara>
</listitem>
</varlistentry>

View file

@ -10,18 +10,16 @@
<para>
The SQLSRV extension can be used on the following operating systems:
<simplelist>
<member>Windows Server 2003 Service Pack 1</member>
<member>Windows XP Service Pack 3</member>
<member>Windows Vista Service Pack 1 or later</member>
<member>Windows Server 2008</member>
<member>Windows Vista Service Pack 2 or later</member>
<member>Windows Server 2008 Service Pack 2 or later </member>
<member>Windows Server 2008 R2</member>
<member>Windows 7</member>
</simplelist>
</para>
<para>
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:
<simplelist>
<member><link xlink:href="&url.sqlsrv.snac.x86download;">Download the x86 package</link></member>
@ -29,17 +27,19 @@
</simplelist>
</para>
<para>
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.
</para>
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.
</para>
<para>
The most recent version of the driver is available for download here:
<link xlink:href="&url.sqlsrv;">SQLSRV 3.0 download</link>. If you need support
for PHP 5.2 and/or PHP compiled with VC6, use the 2.0 release of the driver:
<link xlink:href="&url.sqlsrv.v2driverdownload;">SQLSRV 2.0 download</link>.
</para>
<para>
For more information about SQLSRV requirements, see
<link xlink:href="&url.sqlsrv.system.requirements;">SQLSRV System Requirements</link>.