2003-10-22 19:52:45 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2009-07-11 08:31:40 +00:00
|
|
|
<!-- $Revision$ -->
|
2009-05-01 01:09:20 +00:00
|
|
|
<section xml:id="pcre.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
2002-12-01 17:10:18 +00:00
|
|
|
&reftitle.install;
|
|
|
|
<para>
|
2003-10-22 19:52:45 +00:00
|
|
|
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
|
2008-04-14 14:02:12 +00:00
|
|
|
<option role="configure">--with-pcre-regex=DIR</option> to specify DIR
|
2003-10-22 19:52:45 +00:00
|
|
|
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.
|
2002-12-01 17:10:18 +00:00
|
|
|
</para>
|
|
|
|
&windows.builtin;
|
2008-04-14 14:02:12 +00:00
|
|
|
<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>
|
|
|
|
</para>
|
|
|
|
</note>
|
2009-05-01 01:09:20 +00:00
|
|
|
<para>
|
|
|
|
PCRE is an active project and as it changes so does the PHP
|
|
|
|
functionality that relies upon it. It is possible that certain parts
|
|
|
|
of the PHP documentation is outdated, in that it may not cover the
|
|
|
|
newest features that PCRE provides. For a list of changes, see the
|
|
|
|
<link xlink:href="&url.pcre.changelog;">PCRE library changelog</link>
|
|
|
|
and also the following bundled PCRE history:
|
|
|
|
</para>
|
2009-04-28 21:09:13 +00:00
|
|
|
<para>
|
|
|
|
<table>
|
|
|
|
<title>Upgrade history of the bundled PCRE library</title>
|
|
|
|
<tgroup cols="3">
|
|
|
|
<thead>
|
|
|
|
<row>
|
|
|
|
<entry>PHP &Version;</entry>
|
|
|
|
<entry>Updated PCRE &Version;</entry>
|
|
|
|
<entry>Notes</entry>
|
|
|
|
</row>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<row>
|
|
|
|
<entry>4.4.7</entry>
|
|
|
|
<entry>7.7</entry>
|
|
|
|
<entry></entry>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<entry>5.0.0</entry>
|
|
|
|
<entry>4.5</entry>
|
|
|
|
<entry></entry>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<entry>5.0.5</entry>
|
|
|
|
<entry>5.0</entry>
|
|
|
|
<entry></entry>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<entry>5.1.0</entry>
|
|
|
|
<entry>6.2</entry>
|
|
|
|
<entry></entry>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<entry>5.2.0</entry>
|
|
|
|
<entry>6.7</entry>
|
|
|
|
<entry></entry>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<entry>5.2.2</entry>
|
|
|
|
<entry>7.0</entry>
|
|
|
|
<entry></entry>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<entry>5.2.4</entry>
|
|
|
|
<entry>7.2</entry>
|
|
|
|
<entry></entry>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<entry>5.2.5</entry>
|
|
|
|
<entry>7.3</entry>
|
|
|
|
<entry></entry>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<entry>5.2.6</entry>
|
|
|
|
<entry>7.6</entry>
|
|
|
|
<entry></entry>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<entry>5.2.7</entry>
|
|
|
|
<entry>7.8</entry>
|
|
|
|
<entry></entry>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<entry>5.3.0</entry>
|
|
|
|
<entry>7.9</entry>
|
|
|
|
<entry></entry>
|
|
|
|
</row>
|
|
|
|
</tbody>
|
|
|
|
</tgroup>
|
|
|
|
</table>
|
|
|
|
</para>
|
2002-12-01 17:10:18 +00:00
|
|
|
</section>
|
|
|
|
|
|
|
|
<!-- 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
|
2009-09-25 07:04:39 +00:00
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
2002-12-01 17:10:18 +00:00
|
|
|
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
|
|
|
|
-->
|
2003-10-22 19:52:45 +00:00
|
|
|
|