php-doc-en/reference/dbx/reference.xml

130 lines
3.6 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.10 $ -->
<!--
If anyone from the translator group has problems with the
new version of this file, and finds too difficult the sync his
translation with this doc, please mail me: gerzson@php.net
-->
<reference id="ref.dbx">
<title>dbx functions</title>
<titleabbrev>dbx</titleabbrev>
<partintro>
<section id="dbx.intro">
&reftitle.intro;
<para>
The dbx module is a database abstraction layer (db 'X', where 'X'
is a supported database). The dbx functions allow you to access
all supported databases using a single calling convention.
The dbx-functions themselves do not interface directly to the
databases, but interface to the modules that are used to support
these databases.
</para>
</section>
<section id="dbx.required">
&reftitle.required;
<para>
To be able to use a database with the dbx-module, the module must be either
linked or loaded into PHP, and the database module must be supported by the
dbx-module. Currently, following databases are supported, but others
will follow:
<itemizedlist>
<listitem>
<simpara>
<link linkend="ref.fbsql">FrontBase</link> (available from PHP 4.1.0).
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="ref.mssql">Microsoft SQL Server</link>
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="ref.mysql">MySQL</link>
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="ref.odbc">ODBC</link>
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="ref.pgsql">PostgreSQL</link>
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="ref.sybase">Sybase-CT</link> (available from PHP 4.2.0).
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="ref.oci8">Oracle (oci8)</link> (available from PHP 4.3.0).
</simpara>
</listitem>
</itemizedlist>
</para>
<para>
Documentation for adding additional database support to dbx can be
found at <ulink url="&url.dbx.docs;">&url.dbx.docs;</ulink>.
</para>
</section>
<section id="dbx.installation">
&reftitle.install;
<para>
In order to have these functions available, you must compile PHP with
dbx support by using the <option role="configure">--enable-dbx</option>
option and all options for the databases that will be used, e.g. for
MySQL you must also specify
<option role="configure">--with-mysql=[DIR]</option>.
To get other supported databases to work with the dbx-module refer to their
specific documentation.
</para>
</section>
&reference.dbx.ini;
<section id="dbx.resources">
&reftitle.resources;
<para>
There are two resource types used in the dbx module. The first one is the
link-<type>object</type> for a database connection, the second a
result-<type>object</type> which helds the result of a query.
</para>
</section>
&reference.dbx.constants;
</partintro>
&reference.dbx.functions;
</reference>
<!-- 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
-->