diff --git a/reference/apache/book.xml b/reference/apache/book.xml
new file mode 100644
index 0000000000..d50c664ff0
--- /dev/null
+++ b/reference/apache/book.xml
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+ Apache
+
+
+
+ &reftitle.intro;
+
+ These functions are only available when running PHP as an Apache module.
+
+
+
+ As of PHP 4.3.2, PATH_TRANSLATED is no longer set
+ implicitly under the Apache 2 SAPI in contrast
+ to the situation in Apache 1, where it's set to the same value as
+ the SCRIPT_FILENAME server variable when it's not
+ populated by Apache. This change was made to comply with the
+ CGI specification that
+ PATH_TRANSLATED should only exist if
+ PATH_INFO is defined.
+
+
+ Apache 2 users may use AcceptPathInfo = On inside
+ httpd.conf to define PATH_INFO.
+
+
+
+
+
+ &reference.apache.setup;
+ &reference.apache.constants;
+ &reference.apache.reference;
+
+
+
+
+
diff --git a/reference/apache/constants.xml b/reference/apache/constants.xml
new file mode 100644
index 0000000000..474c075353
--- /dev/null
+++ b/reference/apache/constants.xml
@@ -0,0 +1,29 @@
+
+
+
+
+ &reftitle.constants;
+ &no.constants;
+
+
+
+
diff --git a/reference/apache/reference.xml b/reference/apache/reference.xml
index 4181ec17f7..217578081c 100644
--- a/reference/apache/reference.xml
+++ b/reference/apache/reference.xml
@@ -1,57 +1,10 @@
-
-
-
+
- Apache-specific Functions
- Apache
-
-
- &reftitle.intro;
-
- These functions are only available when running PHP as an Apache module.
-
-
-
- As of PHP 4.3.2, PATH_TRANSLATED is no longer set
- implicitly under the Apache 2 SAPI in contrast
- to the situation in Apache 1, where it's set to the same value as
- the SCRIPT_FILENAME server variable when it's not
- populated by Apache. This change was made to comply with the
- CGI specification that
- PATH_TRANSLATED should only exist if
- PATH_INFO is defined.
-
-
- Apache 2 users may use AcceptPathInfo = On inside
- httpd.conf to define PATH_INFO.
-
-
-
+ Apache-specific &Functions;
-
- &reftitle.install;
-
- For PHP installation on Apache see the installation chapter.
-
-
-
- &reference.apache.ini;
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
- &reftitle.constants;
- &no.constants;
-
-
-
-&reference.apache.entities.functions;
+ &reference.apache.entities.functions;
+
+
+ &reftitle.setup;
+
+
+
+ &reftitle.required;
+ &no.requirement;
+
+
+
+
+
+ &reftitle.install;
+
+ For PHP installation on Apache see the installation chapter.
+
+
+
+
+
+ &reference.apache.ini;
+
+
+
+
+ &reftitle.resources;
+ &no.resource;
+
+
+
+
+
+
+