cvs: phpdoc /en language-snippets.ent /en/appendices ini.xml /en/install ini.xml

From: Date: Sat, 27 Dec 2008 21:27:45 +0000
Subject: cvs: phpdoc /en language-snippets.ent /en/appendices ini.xml /en/install ini.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2843@lists.php.net to get a copy of this message
philip Sat Dec 27 21:27:45 2008 UTC Modified files: /phpdoc/en language-snippets.ent /phpdoc/en/appendices ini.xml /phpdoc/en/install ini.xml Log: - Moved PHP_INI_* definition from appendices/ini.xml to its own sect1 in install/ini.xml - Updated the table (and its description) with new content and formatting - Changed description from "constants" to "modes" as they are not PHP constants - Removed "value" column from table - Named it configuration.changes.modes - This also deals with bug #46540 http://cvs.php.net/viewvc.cgi/phpdoc/en/language-snippets.ent?r1=1.234&r2=1.235&diff_format=u Index: phpdoc/en/language-snippets.ent diff -u phpdoc/en/language-snippets.ent:1.234 phpdoc/en/language-snippets.ent:1.235 --- phpdoc/en/language-snippets.ent:1.234 Tue Dec 9 17:53:07 2008 +++ phpdoc/en/language-snippets.ent Sat Dec 27 21:27:44 2008 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.234 $ --> +<!-- $Revision: 1.235 $ --> <!-- Keep 'em sorted --> @@ -481,7 +481,7 @@ </simpara>'> <!ENTITY ini.php.constants 'For further details and definitions of the -PHP_INI_* constants, see the <xref linkend="ini"/>.'> +PHP_INI_* modes, see the <xref linkend="configuration.changes.modes"/>.'> <!-- Used in reference/$extname/constants.xml --> <!ENTITY extension.constants '<simpara> http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/ini.xml?r1=1.80&r2=1.81&diff_format=u Index: phpdoc/en/appendices/ini.xml diff -u phpdoc/en/appendices/ini.xml:1.80 phpdoc/en/appendices/ini.xml:1.81 --- phpdoc/en/appendices/ini.xml:1.80 Tue Dec 9 17:54:24 2008 +++ phpdoc/en/appendices/ini.xml Sat Dec 27 21:27:44 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.80 $ --> +<!-- $Revision: 1.81 $ --> <appendix xml:id="ini" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>&php.ini; directives</title> @@ -3501,44 +3501,6 @@ </tgroup> </table> </para> - - <para> - <table> - <title>Definition of PHP_INI_* constants</title> - <tgroup cols="3"> - <thead> - <row> - <entry>Constant</entry> - <entry>Value</entry> - <entry>Meaning</entry> - </row> - </thead> - <tbody> - <row> - <entry>PHP_INI_USER</entry> - <entry>1</entry> - <entry>Entry can be set in user scripts or in <link - linkend="configuration.changes.windows">Windows registry</link></entry> - </row> - <row> - <entry>PHP_INI_PERDIR</entry> - <entry>2</entry> - <entry>Entry can be set in &php.ini;, &htaccess; or &httpd.conf;</entry> - </row> - <row> - <entry>PHP_INI_SYSTEM</entry> - <entry>4</entry> - <entry>Entry can be set in &php.ini; or &httpd.conf;</entry> - </row> - <row> - <entry>PHP_INI_ALL</entry> - <entry>7</entry> - <entry>Entry can be set anywhere</entry> - </row> - </tbody> - </tgroup> - </table> - </para> </section> <section xml:id="ini.sections"> http://cvs.php.net/viewvc.cgi/phpdoc/en/install/ini.xml?r1=1.22&r2=1.23&diff_format=u Index: phpdoc/en/install/ini.xml diff -u phpdoc/en/install/ini.xml:1.22 phpdoc/en/install/ini.xml:1.23 --- phpdoc/en/install/ini.xml:1.22 Fri Nov 7 15:08:25 2008 +++ phpdoc/en/install/ini.xml Sat Dec 27 21:27:44 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.22 $ --> +<!-- $Revision: 1.23 $ --> <chapter xml:id="configuration" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Runtime Configuration</title> @@ -118,6 +118,63 @@ </para> </sect1> + <sect1 xml:id="configuration.changes.modes"> + <title>Where a configuration setting may be set</title> + + <para> + These modes determine when and where a PHP directive may or may not + be set, and each directive within the manual refers to one of these + modes. For example, some settings may be set within a PHP script + using <function>ini_set</function>, whereas others may require + &php.ini; or &httpd.conf;. + </para> + + <para> + For example, the + <link linkend="ini.output-buffering">output_buffering</link> setting + is <literal>PHP_INI_PERDIR</literal> therefore it may not be set using + <function>ini_set</function>. However, the + <link linkend="ini.display-errors">display_errors</link> directive is + <literal>PHP_INI_ALL</literal> therefore it may be set anywhere, + including with <function>ini_set</function>. + </para> + + <para> + <table> + <title>Definition of PHP_INI_* modes</title> + <tgroup cols="2"> + <thead> + <row> + <entry>Mode</entry> + <entry>Meaning</entry> + </row> + </thead> + <tbody> + <row> + <entry><literal>PHP_INI_USER</literal></entry> + <entry> + Entry can be set in user scripts (like with <function>ini_set</function>) + or in the <link linkend="configuration.changes.windows">Windows registry</link> + </entry> + </row> + <row> + <entry><literal>PHP_INI_PERDIR</literal></entry> + <entry>Entry can be set in &php.ini;, &htaccess; or &httpd.conf;</entry> + </row> + <row> + <entry><literal>PHP_INI_SYSTEM</literal></entry> + <entry>Entry can be set in &php.ini; or &httpd.conf;</entry> + </row> + <row> + <entry><literal>PHP_INI_ALL</literal></entry> + <entry>Entry can be set anywhere</entry> + </row> + </tbody> + </tgroup> + </table> + </para> + </sect1> + <sect1 xml:id="configuration.changes"> <title>How to change configuration settings</title>

« previous php.doc.cvs (#2843) next »