Mercurial > hg > nginx-site
comparison xml/en/docs/configure.xml @ 1894:d011ffde3760
Updated zlib and PCRE versions.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Thu, 26 Jan 2017 18:29:48 +0300 |
parents | 153a99d25210 |
children | 3be7279397c8 |
comparison
equal
deleted
inserted
replaced
1893:f1c18acbe785 | 1894:d011ffde3760 |
---|---|
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="7"> | 11 rev="8"> |
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. |
178 <listitem> | 178 <listitem> |
179 <para> | 179 <para> |
180 <literal>--with-pcre=<value>path</value></literal>—sets | 180 <literal>--with-pcre=<value>path</value></literal>—sets |
181 the path to the sources of the PCRE library. | 181 the path to the sources of the PCRE library. |
182 The library distribution (version | 182 The library distribution (version |
183 4.4—8.39) needs to be downloaded from the | 183 4.4—8.40) needs to be downloaded from the |
184 <link url="http://www.pcre.org">PCRE</link> site and extracted. | 184 <link url="http://www.pcre.org">PCRE</link> site and extracted. |
185 The rest is done by nginx’s <command>./configure</command> and | 185 The rest is done by nginx’s <command>./configure</command> and |
186 <command>make</command>. | 186 <command>make</command>. |
187 The library is required for regular expressions support in the | 187 The library is required for regular expressions support in the |
188 <link doc="http/ngx_http_core_module.xml" id="location"/> directive | 188 <link doc="http/ngx_http_core_module.xml" id="location"/> directive |
203 <listitem> | 203 <listitem> |
204 <para> | 204 <para> |
205 <literal>--with-zlib=<value>path</value></literal>—sets | 205 <literal>--with-zlib=<value>path</value></literal>—sets |
206 the path to the sources of the zlib library. | 206 the path to the sources of the zlib library. |
207 The library distribution (version | 207 The library distribution (version |
208 1.1.3—1.2.8) needs to be downloaded from the | 208 1.1.3—1.2.11) needs to be downloaded from the |
209 <link url="http://zlib.net">zlib</link> site and extracted. | 209 <link url="http://zlib.net">zlib</link> site and extracted. |
210 The rest is done by nginx’s <command>./configure</command> and | 210 The rest is done by nginx’s <command>./configure</command> and |
211 <command>make</command>. | 211 <command>make</command>. |
212 The library is required for the | 212 The library is required for the |
213 <link doc="http/ngx_http_gzip_module.xml">ngx_http_gzip_module</link> module. | 213 <link doc="http/ngx_http_gzip_module.xml">ngx_http_gzip_module</link> module. |
247 ./configure | 247 ./configure |
248 --sbin-path=/usr/local/nginx/nginx | 248 --sbin-path=/usr/local/nginx/nginx |
249 --conf-path=/usr/local/nginx/nginx.conf | 249 --conf-path=/usr/local/nginx/nginx.conf |
250 --pid-path=/usr/local/nginx/nginx.pid | 250 --pid-path=/usr/local/nginx/nginx.pid |
251 --with-http_ssl_module | 251 --with-http_ssl_module |
252 --with-pcre=../pcre-8.39 | 252 --with-pcre=../pcre-8.40 |
253 --with-zlib=../zlib-1.2.8 | 253 --with-zlib=../zlib-1.2.11 |
254 </programlisting> | 254 </programlisting> |
255 </para> | 255 </para> |
256 | 256 |
257 <para> | 257 <para> |
258 After configuration, | 258 After configuration, |