Mercurial > hg > nginx-site
comparison xml/en/docs/configure.xml @ 2820:d6ce81d4ef08
Documented the PCRE2 library support.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 13 Jan 2022 01:36:17 +0300 |
parents | 61a89c4f37cf |
children | 4add6ae1296f |
comparison
equal
deleted
inserted
replaced
2819:b7ff3d1915a1 | 2820:d6ce81d4ef08 |
---|---|
6 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> | 6 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> |
7 | 7 |
8 <article name="Building nginx from Sources" | 8 <article name="Building nginx from Sources" |
9 link="/en/docs/configure.html" | 9 link="/en/docs/configure.html" |
10 lang="en" | 10 lang="en" |
11 rev="18"> | 11 rev="19"> |
12 | 12 |
13 <section> | 13 <section> |
14 | 14 |
15 <para> | 15 <para> |
16 The build is configured using the <command>configure</command> command. | 16 The build is configured using the <command>configure</command> command. |
1203 <tag-name> | 1203 <tag-name> |
1204 <literal>--with-pcre=<value>path</value></literal> | 1204 <literal>--with-pcre=<value>path</value></literal> |
1205 </tag-name> | 1205 </tag-name> |
1206 <tag-desc> | 1206 <tag-desc> |
1207 sets the path to the sources of the PCRE library. | 1207 sets the path to the sources of the PCRE library. |
1208 The library distribution (version | 1208 The library distribution needs to be downloaded from the |
1209 4.4—8.43) needs to be downloaded from the | |
1210 <link url="http://www.pcre.org">PCRE</link> site and extracted. | 1209 <link url="http://www.pcre.org">PCRE</link> site and extracted. |
1211 The rest is done by nginx’s <command>./configure</command> and | 1210 The rest is done by nginx’s <command>./configure</command> and |
1212 <command>make</command>. | 1211 <command>make</command>. |
1213 The library is required for regular expressions support in the | 1212 The library is required for regular expressions support in the |
1214 <link doc="http/ngx_http_core_module.xml" id="location"/> directive | 1213 <link doc="http/ngx_http_core_module.xml" id="location"/> directive |
1231 builds the PCRE library with | 1230 builds the PCRE library with |
1232 “just-in-time compilation” support (1.1.12, the | 1231 “just-in-time compilation” support (1.1.12, the |
1233 <link doc="ngx_core_module.xml" id="pcre_jit"/> directive). | 1232 <link doc="ngx_core_module.xml" id="pcre_jit"/> directive). |
1234 </tag-desc> | 1233 </tag-desc> |
1235 | 1234 |
1235 <tag-name> | |
1236 <literal>--without-pcre2</literal> | |
1237 </tag-name> | |
1238 <tag-desc> | |
1239 disables use of the PCRE2 library | |
1240 instead of the original PCRE library (1.21.5). | |
1241 </tag-desc> | |
1242 | |
1236 </list> | 1243 </list> |
1237 </para> | 1244 </para> |
1238 | 1245 |
1239 <para> | 1246 <para> |
1240 <list type="tag"> | 1247 <list type="tag"> |
1331 ./configure | 1338 ./configure |
1332 --sbin-path=/usr/local/nginx/nginx | 1339 --sbin-path=/usr/local/nginx/nginx |
1333 --conf-path=/usr/local/nginx/nginx.conf | 1340 --conf-path=/usr/local/nginx/nginx.conf |
1334 --pid-path=/usr/local/nginx/nginx.pid | 1341 --pid-path=/usr/local/nginx/nginx.pid |
1335 --with-http_ssl_module | 1342 --with-http_ssl_module |
1336 --with-pcre=../pcre-8.44 | 1343 --with-pcre=../pcre2-10.39 |
1337 --with-zlib=../zlib-1.2.11 | 1344 --with-zlib=../zlib-1.2.11 |
1338 </programlisting> | 1345 </programlisting> |
1339 </para> | 1346 </para> |
1340 | 1347 |
1341 <para> | 1348 <para> |