Cleaned up the disable/enable information a bit by assuming PHP 5.3.0 is old.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333545 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2014-05-15 17:06:53 +00:00
parent 8feb3ece95
commit 0b89623f80

View file

@ -3,24 +3,19 @@
<section xml:id="pcre.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.install;
<para>
Beginning with PHP 4.2.0 these functions are enabled by default. You can
disable the pcre functions with
<option role="configure">--without-pcre-regex</option>. Use
<option role="configure">--with-pcre-regex=DIR</option> to specify DIR
where PCRE's include and library files are located, if not using bundled library.
For older versions you have to configure and compile PHP
with <option role="configure">--with-pcre-regex[=DIR]</option> in order
to use these functions.
The PCRE extension is a core PHP extension, so it is always enabled.
By default, this extension is compiled using the bundled PCRE
library. Alternatively, an external PCRE library can be used by
passing in the <option role="configure">--with-pcre-regex=DIR</option>
configuration option where <literal>DIR</literal> is the location of
PCRE's include and library files.
</para>
&windows.builtin;
<note>
<para>
As of PHP 5.3.0 this extension cannot be disabled and is therefore always
present.
</para>
<para>
It is still possible to build against an external PCRE library by using
<option role="configure">--with-pcre-regex=DIR</option>
Before PHP 5.3.0, this extension could be disabled by passing in
the <option role="configure">--without-pcre-regex</option>
configuration option.
</para>
</note>
<para>