diff --git a/reference/apache/setup.xml b/reference/apache/setup.xml
index 4a341572fd..5c67c3fcce 100644
--- a/reference/apache/setup.xml
+++ b/reference/apache/setup.xml
@@ -18,13 +18,6 @@
&reference.apache.ini;
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.setup;
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
-
diff --git a/reference/bc/setup.xml b/reference/bc/setup.xml
index 92c31846e6..dc8bacfb82 100644
--- a/reference/bc/setup.xml
+++ b/reference/bc/setup.xml
@@ -12,13 +12,6 @@
&reference.bc.ini;
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.setup;
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
-
diff --git a/reference/com/setup.xml b/reference/com/setup.xml
index 8ee01d9858..38a8a284aa 100644
--- a/reference/com/setup.xml
+++ b/reference/com/setup.xml
@@ -12,7 +12,7 @@
.Net support requires the .Net runtime.
-
+
@@ -35,13 +35,6 @@
&reference.com.ini;
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
+
Directories
-
+
-
- &reference.dir.setup;
+
&reference.dir.constants;
&reference.dir.directory;
&reference.dir.reference;
diff --git a/reference/dir/setup.xml b/reference/dir/setup.xml
deleted file mode 100644
index d29b8b08a9..0000000000
--- a/reference/dir/setup.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
-
- &reftitle.setup;
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
-
-
diff --git a/reference/dom/setup.xml b/reference/dom/setup.xml
index c2ce63bf39..f59a556db5 100644
--- a/reference/dom/setup.xml
+++ b/reference/dom/setup.xml
@@ -21,13 +21,6 @@
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.setup;
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
-
diff --git a/reference/gearman/setup.xml b/reference/gearman/setup.xml
index 005b7b01ce..0ddee55417 100644
--- a/reference/gearman/setup.xml
+++ b/reference/gearman/setup.xml
@@ -21,14 +21,6 @@
&reference.gearman.configure;
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
-
+
diff --git a/reference/gettext/setup.xml b/reference/gettext/setup.xml
index 1d8728b195..16961a5d63 100644
--- a/reference/gettext/setup.xml
+++ b/reference/gettext/setup.xml
@@ -18,13 +18,6 @@
&reference.gettext.configure;
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
+
&reference.intl.configure;
@@ -24,13 +24,6 @@
&reference.intl.ini;
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
+
Mathematical FunctionsMath
-
+
&reftitle.intro;
@@ -35,8 +35,7 @@
-
- &reference.math.setup;
+
&reference.math.constants;
&reference.math.reference;
diff --git a/reference/math/setup.xml b/reference/math/setup.xml
deleted file mode 100644
index 2a1938978b..0000000000
--- a/reference/math/setup.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
-
- &reftitle.setup;
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
-
-
diff --git a/reference/mbstring/setup.xml b/reference/mbstring/setup.xml
index 742809a16a..4d94dafce8 100644
--- a/reference/mbstring/setup.xml
+++ b/reference/mbstring/setup.xml
@@ -12,13 +12,6 @@
&reference.mbstring.ini;
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
diff --git a/reference/readline/setup.xml b/reference/readline/setup.xml
index 2b42c6ceb0..b10609df03 100644
--- a/reference/readline/setup.xml
+++ b/reference/readline/setup.xml
@@ -28,13 +28,6 @@
&reference.readline.ini;
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.setup;
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
-
diff --git a/reference/rnp/setup.xml b/reference/rnp/setup.xml
index 71e70b0200..755d93a0cd 100644
--- a/reference/rnp/setup.xml
+++ b/reference/rnp/setup.xml
@@ -13,11 +13,6 @@
&reference.rnp.configure;
-
- &reftitle.resources;
- &no.resource;
-
-
-
+
diff --git a/reference/simplexml/setup.xml b/reference/simplexml/setup.xml
index c73ab6913a..a59764870b 100644
--- a/reference/simplexml/setup.xml
+++ b/reference/simplexml/setup.xml
@@ -15,13 +15,6 @@
&reference.simplexml.configure;
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.setup;
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
-
diff --git a/reference/sqlite3/setup.xml b/reference/sqlite3/setup.xml
index 1f6e405d9d..217ddbcd3b 100644
--- a/reference/sqlite3/setup.xml
+++ b/reference/sqlite3/setup.xml
@@ -20,11 +20,6 @@
&reference.sqlite3.ini;
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.resources;
-
- &no.resource;
-
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
diff --git a/reference/sync/setup.xml b/reference/sync/setup.xml
index 651e0125c0..511b140d18 100644
--- a/reference/sync/setup.xml
+++ b/reference/sync/setup.xml
@@ -19,11 +19,6 @@
-
- &reftitle.resources;
- &no.resource;
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.setup;
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
-
diff --git a/reference/v8js/setup.xml b/reference/v8js/setup.xml
index 3e184b2396..83e6faa925 100644
--- a/reference/v8js/setup.xml
+++ b/reference/v8js/setup.xml
@@ -15,11 +15,6 @@
&reference.v8js.ini;
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
Security consideration
diff --git a/reference/wincache/setup.xml b/reference/wincache/setup.xml
index f3214908f5..3b80e64cc4 100644
--- a/reference/wincache/setup.xml
+++ b/reference/wincache/setup.xml
@@ -55,8 +55,8 @@
&url.pecl.package;wincache.
- There are two packages for this extension: one package is for PHP versions 5.2.X,
- and the other package is for PHP 5.3.X. Select the package that is appropriate for
+ There are two packages for this extension: one package is for PHP versions 5.2.X,
+ and the other package is for PHP 5.3.X. Select the package that is appropriate for
the PHP version being used.
@@ -70,77 +70,77 @@
- Copy the php_wincache.dll file into the PHP extensions folder.
- Typically this folder is called "ext" and it is located in the same folder with all
+ Copy the php_wincache.dll file into the PHP extensions folder.
+ Typically this folder is called "ext" and it is located in the same folder with all
PHP binary files. For example: C:\Program Files\PHP\ext.
- Using a text editor, open the php.ini file, which is usually located in the
- same folder where all PHP binary files are. For example:
+ Using a text editor, open the php.ini file, which is usually located in the
+ same folder where all PHP binary files are. For example:
C:\Program Files\PHP\php.ini.
- Add the following line at the end of the php.ini file:
+ Add the following line at the end of the php.ini file:
extension = php_wincache.dll.
- Save and close the php.ini file.
+ Save and close the php.ini file.
Recycle the IIS Application Pools for PHP to pick up the configuration changes.
- To check that the extension has been enabled, create a file called
- phpinfo.php with a PHP code that calls
+ To check that the extension has been enabled, create a file called
+ phpinfo.php with a PHP code that calls
phpinfo function.
- Save the phpinfo.php file in the root folder of a
- IIS web site that uses PHP, then open a browser and make a request to
- http://localhost/phpinfo.php. Search within the returned web page
- for a section called wincache. If the extension
- is enabled, then the phpinfo
+ Save the phpinfo.php file in the root folder of a
+ IIS web site that uses PHP, then open a browser and make a request to
+ http://localhost/phpinfo.php. Search within the returned web page
+ for a section called wincache. If the extension
+ is enabled, then the phpinfo
output will list the configuration settings provided by the WinCache.
- Do not forget to remove phpinfo.php file from the web
+ Do not forget to remove phpinfo.php file from the web
site's root folder after verifying that extension has been enabled.
&reference.wincache.ini;
-
+
WinCache Statistics Script
- The installation package for WinCache includes a PHP script,
- wincache.php, that can be used to obtain cache information
+ The installation package for WinCache includes a PHP script,
+ wincache.php, that can be used to obtain cache information
and statistics.
- If the WinCache extension was installed via the Microsoft Web Platform Installer,
- then this script is located in
- %SystemDrive%\Program Files\IIS\Windows Cache for PHP\.
- On a 64-bit version of the Windows Server operating system, the script is located in
- %SystemDrive%\Program Files (x86)\IIS\Windows Cache for PHP.
- If the extension was installed manually, then the wincache.php
+ If the WinCache extension was installed via the Microsoft Web Platform Installer,
+ then this script is located in
+ %SystemDrive%\Program Files\IIS\Windows Cache for PHP\.
+ On a 64-bit version of the Windows Server operating system, the script is located in
+ %SystemDrive%\Program Files (x86)\IIS\Windows Cache for PHP.
+ If the extension was installed manually, then the wincache.php
will be located in the same folder from which the content of the installation package was extracted.
- To use wincache.php, copy it into a root folder of a Web site or
- into any subfolder. To protect the script, open it in any text editor and replace the values for
- USERNAME and PASSWORD constants.
+ To use wincache.php, copy it into a root folder of a Web site or
+ into any subfolder. To protect the script, open it in any text editor and replace the values for
+ USERNAME and PASSWORD constants.
If any other IIS authentication is enabled on the server, then
follow the instructions in the comments:
@@ -158,10 +158,10 @@ define('USERNAME', 'wincache');
define('PASSWORD', 'wincache');
/**
- * The Basic PHP authentication will work only when IIS is configured to support
+ * The Basic PHP authentication will work only when IIS is configured to support
* Anonymous Authentication' and nothing else. If IIS is configured to support/use
* any other kind of authentication like Basic/Negotiate/Digest etc, this will not work.
- * In that case use the array below to define the names of users in your
+ * In that case use the array below to define the names of users in your
* domain/network/workgroup which you want to grant access to.
*/
$user_allowed = array('DOMAIN\user1', 'DOMAIN\user2', 'DOMAIN\user3');
@@ -180,9 +180,9 @@ $user_allowed = array('DOMAIN\user1', 'DOMAIN\user2', 'DOMAIN\user3');
- Always protect the wincache.php script by using either
- the built-in authentication or the server's authentication mechanism.
- Leaving this script unprotected may compromise the security of your
+ Always protect the wincache.php script by using either
+ the built-in authentication or the server's authentication mechanism.
+ Leaving this script unprotected may compromise the security of your
web application and web server.
@@ -191,16 +191,16 @@ $user_allowed = array('DOMAIN\user1', 'DOMAIN\user2', 'DOMAIN\user3');
WinCache Session Handler
- The WinCache session handler (available since WinCache 1.1.0) can be used to configure PHP to store the session data in shared memory session cache.
- Using shared memory instead of the default file session storage helps improve performance of PHP applications
- that store large amount of data in session objects. Wincache session cache uses file-backed shared memory, which ensures
+ The WinCache session handler (available since WinCache 1.1.0) can be used to configure PHP to store the session data in shared memory session cache.
+ Using shared memory instead of the default file session storage helps improve performance of PHP applications
+ that store large amount of data in session objects. Wincache session cache uses file-backed shared memory, which ensures
that the session data is not lost during recycling of IIS application pools.
- To configure PHP to use WinCache session handler set the php.ini setting
- session.save_handler to wincache.
- By default the Windows temporary file location is used for storing the
- session data. To change the location of the session file use
+ To configure PHP to use WinCache session handler set the php.ini setting
+ session.save_handler to wincache.
+ By default the Windows temporary file location is used for storing the
+ session data. To change the location of the session file use
session.save_path directive.
Enabling WinCache session handler
@@ -216,14 +216,14 @@ session.save_path = C:\inetpub\temp\session\
WinCache Functions Reroutes
- NOTE: wincache.rerouteini was removed as of
- WinCache 1.3.7.0. It has been replaced with automatic function reroutes. See:
+ NOTE: wincache.rerouteini was removed as of
+ WinCache 1.3.7.0. It has been replaced with automatic function reroutes. See:
wincache.reroute_enabled.
- The WinCache functions reroutes (available since WinCache 1.2.0, removed since WinCache 1.3.7.0) can be used to replace built-in PHP functions with their equivalents
- that are optimized for a particular purpose. WinCache extension includes Windows-optimized implementation of PHP file functions that
- may improve performance of PHP applications in cases when PHP has to access files on network shares. The optimized implementation is
+ The WinCache functions reroutes (available since WinCache 1.2.0, removed since WinCache 1.3.7.0) can be used to replace built-in PHP functions with their equivalents
+ that are optimized for a particular purpose. WinCache extension includes Windows-optimized implementation of PHP file functions that
+ may improve performance of PHP applications in cases when PHP has to access files on network shares. The optimized implementation is
provided for the following functions:
@@ -269,9 +269,9 @@ session.save_path = C:\inetpub\temp\session\
- To configure WinCache to use the functions reroutes use the file reroute.ini that is included in
- WinCache installation package. Copy this file into the same directory where php.ini
- file is located. After that add the wincache.rerouteini setting in php.ini
+ To configure WinCache to use the functions reroutes use the file reroute.ini that is included in
+ WinCache installation package. Copy this file into the same directory where php.ini
+ file is located. After that add the wincache.rerouteini setting in php.ini
and specify an absolute or relative path to the reroute.ini file.
Enabling WinCache functions reroutes
@@ -284,21 +284,21 @@ wincache.rerouteini = C:\PHP\reroute.ini
- If WinCache functions reroutes are enabled it is recommended to increase the WinCache file cache size. This
+ If WinCache functions reroutes are enabled it is recommended to increase the WinCache file cache size. This
can be done by using wincache.fcachesize setting.
- The reroute.ini file contains the mappings between the native PHP functions and
+ The reroute.ini file contains the mappings between the native PHP functions and
their equivalents in WinCache. Each line in the file defines a mapping by using the following syntax:
<PHP function name>:[<number of function parameters>]=<wincache function name>
- The example of the file is shown below. In this example the calls to PHP function file_get_contents
- will be replaced with calls to wincache_file_get_contents only if the number of parameters passed to
- the function is less than or equals to 2. Specifying the number of parameters is useful when replacement function
+ The example of the file is shown below. In this example the calls to PHP function file_get_contents
+ will be replaced with calls to wincache_file_get_contents only if the number of parameters passed to
+ the function is less than or equals to 2. Specifying the number of parameters is useful when replacement function
does not handle all the function's parameters.
Reroute.ini file content
@@ -320,10 +320,6 @@ filesize=wincache_filesize
-
- &reftitle.resources;
- &no.resource;
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-
-
-
- &reftitle.resources;
- &no.resource;
-
-
-