cvs: phpdoc /en/reference/sqlite book.xml constants.xml reference.xml setup.xml

From: Date: Fri, 21 Dec 2007 18:01:02 +0000
Subject: cvs: phpdoc /en/reference/sqlite book.xml constants.xml reference.xml setup.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-681@lists.php.net to get a copy of this message
philip Fri Dec 21 18:01:02 2007 UTC Modified files: /phpdoc/en/reference/sqlite setup.xml book.xml reference.xml constants.xml Log: MFB: Upgrade to the new-reference-structure - Split reference.xml into book.xml and setup.xml - Moved from reference.xml to book.xml: - The intro text (partintro), and link to constants - Moved from reference.xml to setup.xml: - The rest: requirements, installation, configuration, and resources - Changed the constants section to be an <appendix> - Changed the intro ID from <extname>.intro to intro.<extname>

http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sqlite/setup.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/sqlite/setup.xml diff -u /dev/null phpdoc/en/reference/sqlite/setup.xml:1.2 --- /dev/null Fri Dec 21 18:01:02 2007 +++ phpdoc/en/reference/sqlite/setup.xml Fri Dec 21 18:01:02 2007 @@ -0,0 +1,130 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> + +<chapter xml:id="sqlite.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + &reftitle.setup; + + <!-- {{{ Requirements --> + <section xml:id="sqlite.requirements"> + &reftitle.required; + <para> + In order to have these functions available, you must compile PHP with + SQLite support, or load the SQLite extension dynamically from your + &php.ini;. + </para> + </section> + <!-- }}} --> + + <!-- {{{ Installation --> + <section xml:id="sqlite.installation"> + &reftitle.install; + <para> + Read the INSTALL file, which comes with the package. Or just use the PEAR + installer with <command>pecl install sqlite</command>. + SQLite itself is already included, You do not need to install + any additional software. + </para> + <para> + Windows users may download the DLL version of the SQLite extension here: + (<link xlink:href="&url.pecl.get.win;php_sqlite.dll">php_sqlite.dll</link>). + </para> + <para> + In PHP 5, the SQLite extension and the engine itself are bundled and + compiled by default. However, since PHP 5.1.0 you need to manually + activate the extension in &php.ini; (because it is now bundled as + shared). Moreover, since PHP 5.1.0 SQLite depends on <link + linkend="ref.pdo">PDO</link> it must be enabled too, by adding the + following lines to &php.ini; (in order): + <informalexample> + <programlisting role="ini"> +<![CDATA[ +extension=php_pdo.dll +extension=php_sqlite.dll +]]> + </programlisting> + </informalexample> + On Linux or Unix operating systems, if you build PDO as a shared + extension, you must build SQLite as a shared extension using the + <command>--with-sqlite=shared</command> configure option. + </para> + <para> + SQLite 3 is supported through <link + linkend="ref.pdo-sqlite">PDO SQLite</link>. + </para> + <note> + <title>Windows installation for unprivileged accounts</title> + <para> + On Windows operating systems, unprivileged accounts don't have the + <varname>TMP</varname> environment variable set by default. This will + make sqlite create temporary files in the windows directory, which is + not desirable. So, you should set the <varname>TMP</varname> environment + variable for the web server or the user account the web server is + running under. If Apache is your web server, you can accomplish this via + a <command>SetEnv</command> directive in your &httpd.conf; file. For + example: + <informalexample> + <programlisting role="apache-conf"> +<![CDATA[ +SetEnv TMP c:/temp +]]> + </programlisting> + </informalexample> + If you are unable to establish this setting at the server + level, you can implement the setting in your script: + <informalexample> + <programlisting role="php"> +<![CDATA[ +putenv('TMP=C:/temp'); +]]> + </programlisting> + </informalexample> + The setting must refer to a directory that the web server + has permission to create files in and subsequently write + to and delete the files it created. + Otherwise, you may receive the following error message: + <computeroutput> + malformed database schema - + unable to open a temporary database file for storing temporary tables + </computeroutput> + </para> + </note> + </section> + <!-- }}} --> + + <!-- {{{ Configuration --> + &reference.sqlite.ini; + <!-- }}} --> + + <!-- {{{ Resources --> + <section xml:id="sqlite.resources"> + &reftitle.resources; + <para> + There are two resources used in the SQLite Interface. The first one is the + database connection, the second one the result set. + </para> + </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 +--> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sqlite/book.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/sqlite/book.xml diff -u /dev/null phpdoc/en/reference/sqlite/book.xml:1.2 --- /dev/null Fri Dec 21 18:01:02 2007 +++ phpdoc/en/reference/sqlite/book.xml Fri Dec 21 18:01:02 2007 @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> +<!-- Purpose: database.vendors --> +<!-- Membership: bundled --> + +<book xml:id="book.sqlite" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <title>SQLite</title> + + <!-- {{{ preface --> + <preface xml:id="intro.sqlite"> + &reftitle.intro; + <para> + This is an extension for the SQLite Embeddable SQL Database Engine. + SQLite is a C library that implements an embeddable SQL database engine. + Programs that link with the SQLite library can have SQL database access + without running a separate RDBMS process. + </para> + <para> + SQLite is not a client library used to connect to a big database server. + SQLite is the server. The SQLite library reads and writes directly to and from + the database files on disk. + </para> + <note> + <para> + For further information see the SQLite Website + (<link xlink:href="&url.sqlite;">&url.sqlite;</link>). + </para> + </note> + </preface> + <!-- }}} --> + + &reference.sqlite.setup; + &reference.sqlite.constants; + &reference.sqlite.reference; + +</book> + +<!-- 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 +--> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sqlite/reference.xml?r1=1.26&r2=1.27&diff_format=u Index: phpdoc/en/reference/sqlite/reference.xml diff -u phpdoc/en/reference/sqlite/reference.xml:1.26 phpdoc/en/reference/sqlite/reference.xml:1.27 --- phpdoc/en/reference/sqlite/reference.xml:1.26 Mon Dec 10 17:06:09 2007 +++ phpdoc/en/reference/sqlite/reference.xml Fri Dec 21 18:01:02 2007 @@ -1,126 +1,11 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.26 $ --> -<!-- Purpose: database.vendors --> -<!-- Membership: bundled --> +<!-- $Revision: 1.27 $ --> <reference xml:id="ref.sqlite" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>SQLite Functions</title> - <titleabbrev>SQLite</titleabbrev> + <title>SQLite &Functions;</title> <partintro> - <section xml:id="sqlite.intro"> - &reftitle.intro; - <para> - This is an extension for the SQLite Embeddable SQL Database Engine. - SQLite is a C library that implements an embeddable SQL database engine. - Programs that link with the SQLite library can have SQL database access - without running a separate RDBMS process. - </para> - <para> - SQLite is not a client library used to connect to a big database server. - SQLite is the server. The SQLite library reads and writes directly to and from - the database files on disk. - </para> - <note> - <para> - For further information see the SQLite Website - (<link xlink:href="&url.sqlite;">&url.sqlite;</link>). - </para> - </note> - </section> - - <section xml:id="sqlite.install"> - <title>Installation</title> - <para> - Read the INSTALL file, which comes with the package. Or just use the PEAR - installer with <command>pecl install sqlite</command>. - SQLite itself is already included, You do not need to install - any additional software. - </para> - <para> - Windows users may download the DLL version of the SQLite extension here: - (<link xlink:href="&url.pecl.get.win;php_sqlite.dll">php_sqlite.dll</link>). - </para> - <para> - In PHP 5, the SQLite extension and the engine itself are bundled and - compiled by default. However, since PHP 5.1.0 you need to manually - activate the extension in &php.ini; (because it is now bundled as - shared). Moreover, since PHP 5.1.0 SQLite depends on <link - linkend="ref.pdo">PDO</link> it must be enabled too, by adding the - following lines to &php.ini; (in order): - <informalexample> - <programlisting role="ini"> -<![CDATA[ -extension=php_pdo.dll -extension=php_sqlite.dll -]]> - </programlisting> - </informalexample> - On Linux or Unix operating systems, if you build PDO as a shared - extension, you must build SQLite as a shared extension using the - <command>--with-sqlite=shared</command> configure option. - </para> - <para> - SQLite 3 is supported through <link - linkend="ref.pdo-sqlite">PDO SQLite</link>. - </para> - <note> - <title>Windows installation for unprivileged accounts</title> - <para> - On Windows operating systems, unprivileged accounts don't have the - <varname>TMP</varname> environment variable set by default. This will - make sqlite create temporary files in the windows directory, which is - not desirable. So, you should set the <varname>TMP</varname> environment - variable for the web server or the user account the web server is - running under. If Apache is your web server, you can accomplish this via - a <command>SetEnv</command> directive in your &httpd.conf; file. For - example: - <informalexample> - <programlisting role="apache-conf"> -<![CDATA[ -SetEnv TMP c:/temp -]]> - </programlisting> - </informalexample> - If you are unable to establish this setting at the server - level, you can implement the setting in your script: - <informalexample> - <programlisting role="php"> -<![CDATA[ -putenv('TMP=C:/temp'); -]]> - </programlisting> - </informalexample> - The setting must refer to a directory that the web server - has permission to create files in and subsequently write - to and delete the files it created. - Otherwise, you may receive the following error message: - <computeroutput> - malformed database schema - - unable to open a temporary database file for storing temporary tables - </computeroutput> - </para> - </note> - </section> - <section xml:id="sqlite.requirements"> - &reftitle.required; - <para> - In order to have these functions available, you must compile PHP with - SQLite support, or load the SQLite extension dynamically from your - &php.ini;. - </para> - </section> - - <section xml:id="sqlite.resources"> - &reftitle.resources; - <para> - There are two resources used in the SQLite Interface. The first one is the - database connection, the second one the result set. - </para> - </section> - - &reference.sqlite.constants; - + <!-- FIXME: Remove this section --> <section xml:id="sqlite.classes"> &reftitle.classes; @@ -284,7 +169,6 @@ </section> - &reference.sqlite.ini; </partintro> &reference.sqlite.entities.functions; http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sqlite/constants.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc/en/reference/sqlite/constants.xml diff -u phpdoc/en/reference/sqlite/constants.xml:1.4 phpdoc/en/reference/sqlite/constants.xml:1.5 --- phpdoc/en/reference/sqlite/constants.xml:1.4 Wed Jun 20 22:25:26 2007 +++ phpdoc/en/reference/sqlite/constants.xml Fri Dec 21 18:01:02 2007 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.4 $ --> -<section xml:id="sqlite.constants" xmlns="http://docbook.org/ns/docbook"> +<!-- $Revision: 1.5 $ --> +<appendix xml:id="sqlite.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; &extension.constants; <para> @@ -341,7 +341,7 @@ </listitem> </varlistentry> </variablelist> -</section> +</appendix> <!-- Keep this comment at the end of the file Local variables:
« previous php.doc.cvs (#681) next »