php-doc-en/reference/mssql/setup.xml
Kalle Sommer Nielsen 8270283d6b News
* Added missing <literal> on setup note
* Added a reference to PDO_DBLIB and PDO_ODBC on setup note
* Added a source comment on mssql_connect() explaining how to use a connect with a custom port
* Added undocumented ini setting mssql.charset (available as of PHP 5.1.2)
* Added missing parameter descriptions on mssql_guid_string
* Added missing examples for
 * mssql_data_seek (Ross)
 * mssql_execute
 * mssql_fetch_array
 * mssql_fetch_assoc
 * mssql_fetch_field
 * mssql_fetch_object
 * mssql_fetch_row (RMLR)
 * mssql_field_length
 * mssql_field_name
 * mssql_field_seek
 * mssql_field_type
 * mssql_free_result
 * mssql_free_statement
 * mssql_get_last_message
 * mssql_guid_string
 * mssql_init
 * mssql_min_error_severity
 * mssql_min_message_severity
 * mssql_num_fields
 * mssql_pconnect (RMLR)
 * mssql_result
* Added constant descriptions
* Documented the following functions
 * mssql_get_last_message
 * mssql_min_error_severity
 * mssql_min_message_severity
* Changed examples on the following
 * mssql_bind
 * mssql_fetch_batch
 * mssql_next_result
 * mssql_query
* Fixed example on mssql_rows_affected


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@267081 c90b9560-bf6c-de11-be94-00142212c4b1
2008-10-08 18:29:23 +00:00

94 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.6 $ -->
<chapter xml:id="mssql.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.setup;
<!-- {{{ Requirements -->
<section xml:id="mssql.requirements">
&reftitle.required;
<para>
Requirements for Win32 platforms.
</para>
<para>
The extension requires the MS SQL Client Tools to be installed
on the system where PHP is installed. The Client Tools can
be installed from the MS SQL Server CD or by copying
<filename>ntwdblib.dll</filename> from
<filename>\winnt\system32</filename> on the server to
<filename>\winnt\system32</filename> on the PHP box.
Copying <filename>ntwdblib.dll</filename> will only provide access
through named pipes.
Configuration of the client will require installation of all the tools.
</para>
<para>
Requirements for Unix/Linux platforms.
</para>
<para>
To use the MSSQL extension on Unix/Linux, you first need to build and
install the FreeTDS library. Source code and installation instructions
are available at the FreeTDS home page:
<link xlink:href="&url.freetds;">&url.freetds;</link>
</para>
<note>
<para>
On Windows, the DBLIB from Microsoft is used. Functions that return a
column name are based on the <literal>dbcolname()</literal> function
in DBLIB. DBLIB was developed for SQL Server 6.x where the max
identifier length is 30. For this reason, the maximum column length
is 30 characters. On platforms where FreeTDS is used (Linux), this is
not a problem.
</para>
</note>
<note>
<para>
On Windows, if you're using MSSQL 2005 or greater you must copy the
<literal>ntwdblib.dll</literal> into the directory where you have
installed php and overwrite the one thats already in there. This is
due to the version distributed is old and outdated. Alternatively you
can use the <link linkend="book.uodbc">ODBC extension</link>,
<link linkend="ref.pdo-dblib">PDO_DBLIB</link> or
<link linkend="ref.pdo-odbc">PDO_ODBC</link>, to talk to MSSQL.
</para>
</note>
</section>
<!-- }}} -->
<!-- {{{ Installation -->
&reference.mssql.configure;
<!-- }}} -->
<!-- {{{ Configuration -->
&reference.mssql.ini;
<!-- }}} -->
<!-- {{{ Resources -->
<section xml:id="mssql.resources">
&reftitle.resources;
&no.resource;
</section>
<!-- }}} -->
</chapter>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->