mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
MFB:
- Split reference.xml into book.xml, setup.xml & constants.xml - Change the intro ID to intro.<extname> git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@247930 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
0258a77f1e
commit
5ee197ebc7
4 changed files with 149 additions and 50 deletions
60
reference/apache/book.xml
Normal file
60
reference/apache/book.xml
Normal file
|
@ -0,0 +1,60 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- Purpose: utilspec.server -->
|
||||
<!-- Membership: bundled -->
|
||||
|
||||
<book xml:id="book.apache" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Apache</title>
|
||||
|
||||
<!-- {{{ preface -->
|
||||
<preface xml:id="intro.apache">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
These functions are only available when running PHP as an Apache module.
|
||||
</para>
|
||||
<note>
|
||||
<simpara>
|
||||
As of PHP 4.3.2, <envar>PATH_TRANSLATED</envar> is no longer set
|
||||
implicitly under the Apache 2 <acronym>SAPI</acronym> in contrast
|
||||
to the situation in Apache 1, where it's set to the same value as
|
||||
the <envar>SCRIPT_FILENAME</envar> server variable when it's not
|
||||
populated by Apache. This change was made to comply with the
|
||||
<acronym>CGI</acronym> specification that
|
||||
<envar>PATH_TRANSLATED</envar> should only exist if
|
||||
<envar>PATH_INFO</envar> is defined.
|
||||
</simpara>
|
||||
<simpara>
|
||||
Apache 2 users may use <literal>AcceptPathInfo = On</literal> inside
|
||||
<filename>httpd.conf</filename> to define <envar>PATH_INFO</envar>.
|
||||
</simpara>
|
||||
</note>
|
||||
</preface>
|
||||
<!-- }}} -->
|
||||
|
||||
&reference.apache.setup;
|
||||
&reference.apache.constants;
|
||||
&reference.apache.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
|
||||
-->
|
||||
|
29
reference/apache/constants.xml
Normal file
29
reference/apache/constants.xml
Normal file
|
@ -0,0 +1,29 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
|
||||
<appendix xml:id="apache.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.constants;
|
||||
&no.constants;
|
||||
</appendix>
|
||||
|
||||
<!-- 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
|
||||
-->
|
||||
|
|
@ -1,57 +1,10 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.13 $ -->
|
||||
<!-- Purpose: utilspec.server -->
|
||||
<!-- Membership: bundled -->
|
||||
<!-- $Revision: 1.14 $ -->
|
||||
|
||||
<reference xml:id="ref.apache" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>Apache-specific Functions</title>
|
||||
<titleabbrev>Apache</titleabbrev>
|
||||
<partintro>
|
||||
<section xml:id="apache.intro">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
These functions are only available when running PHP as an Apache module.
|
||||
</para>
|
||||
<note>
|
||||
<simpara>
|
||||
As of PHP 4.3.2, <envar>PATH_TRANSLATED</envar> is no longer set
|
||||
implicitly under the Apache 2 <acronym>SAPI</acronym> in contrast
|
||||
to the situation in Apache 1, where it's set to the same value as
|
||||
the <envar>SCRIPT_FILENAME</envar> server variable when it's not
|
||||
populated by Apache. This change was made to comply with the
|
||||
<acronym>CGI</acronym> specification that
|
||||
<envar>PATH_TRANSLATED</envar> should only exist if
|
||||
<envar>PATH_INFO</envar> is defined.
|
||||
</simpara>
|
||||
<simpara>
|
||||
Apache 2 users may use <literal>AcceptPathInfo = On</literal> inside
|
||||
<filename>httpd.conf</filename> to define <envar>PATH_INFO</envar>.
|
||||
</simpara>
|
||||
</note>
|
||||
</section>
|
||||
<title>Apache-specific &Functions;</title>
|
||||
|
||||
<section xml:id="apache.installation">
|
||||
&reftitle.install;
|
||||
<para>
|
||||
For PHP installation on Apache see the <link
|
||||
linkend='install'>installation chapter</link>.
|
||||
</para>
|
||||
</section>
|
||||
|
||||
&reference.apache.ini;
|
||||
|
||||
<section xml:id="apache.resources">
|
||||
&reftitle.resources;
|
||||
&no.resource;
|
||||
</section>
|
||||
|
||||
<section xml:id="apache.constants">
|
||||
&reftitle.constants;
|
||||
&no.constants;
|
||||
</section>
|
||||
</partintro>
|
||||
|
||||
&reference.apache.entities.functions;
|
||||
&reference.apache.entities.functions;
|
||||
|
||||
</reference>
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
|
57
reference/apache/setup.xml
Normal file
57
reference/apache/setup.xml
Normal file
|
@ -0,0 +1,57 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
|
||||
<chapter xml:id="apache.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.setup;
|
||||
|
||||
<!-- {{{ Requirements -->
|
||||
<section xml:id="apache.requirements">
|
||||
&reftitle.required;
|
||||
&no.requirement;
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
<!-- {{{ Installation -->
|
||||
<section xml:id="apache.installation">
|
||||
&reftitle.install;
|
||||
<para>
|
||||
For PHP installation on Apache see the <link
|
||||
linkend='install'>installation chapter</link>.
|
||||
</para>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
<!-- {{{ Configuration -->
|
||||
&reference.apache.ini;
|
||||
<!-- }}} -->
|
||||
|
||||
<!-- {{{ Resources -->
|
||||
<section xml:id="apache.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
|
||||
-->
|
||||
|
Loading…
Reference in a new issue