{"id":139200,"date":"2019-03-18T08:32:58","date_gmt":"2019-03-18T00:32:58","guid":{"rendered":"https:\/\/gulass.cn\/?p=139200"},"modified":"2019-03-08T09:34:00","modified_gmt":"2019-03-08T01:34:00","slug":"nginx-config-parameter","status":"publish","type":"post","link":"https:\/\/gulass.cn\/nginx-config-parameter.html","title":{"rendered":"Nginx\u6e90\u7801\u7f16\u8bd1\u5b89\u88c5\u53ca\u8be6\u7ec6\u53c2\u6570\u89e3\u91ca"},"content":{"rendered":"
\r\n--prefix= \u6307\u5411\u5b89\u88c5\u76ee\u5f55\r\n\r\n--sbin-path \u6307\u5411\uff08\u6267\u884c\uff09\u7a0b\u5e8f\u6587\u4ef6\uff08nginx\uff09\r\n\r\n--conf-path= \u6307\u5411\u914d\u7f6e\u6587\u4ef6\uff08nginx.conf\uff09\r\n\r\n--error-log-path= \u6307\u5411\u9519\u8bef\u65e5\u5fd7\u76ee\u5f55\r\n\r\n--pid-path= \u6307\u5411pid\u6587\u4ef6\uff08nginx.pid\uff09\r\n\r\n--lock-path= \u6307\u5411lock\u6587\u4ef6\uff08nginx.lock\uff09\uff08\u5b89\u88c5\u6587\u4ef6\u9501\u5b9a\uff0c\u9632\u6b62\u5b89\u88c5\u6587\u4ef6\u88ab\u522b\u4eba\u5229\u7528\uff0c\u6216\u81ea\u5df1\u8bef\u64cd\u4f5c\u3002\uff09\r\n\r\n--user= \u6307\u5b9a\u7a0b\u5e8f\u8fd0\u884c\u65f6\u7684\u975e\u7279\u6743\u7528\u6237\r\n\r\n--group= \u6307\u5b9a\u7a0b\u5e8f\u8fd0\u884c\u65f6\u7684\u975e\u7279\u6743\u7528\u6237\u7ec4\r\n\r\n--builddir= \u6307\u5411\u7f16\u8bd1\u76ee\u5f55\r\n\r\n--with-rtsig_module \u542f\u7528rtsig\u6a21\u5757\u652f\u6301\uff08\u5b9e\u65f6\u4fe1\u53f7\uff09\r\n\r\n--with-select_module \u542f\u7528select\u6a21\u5757\u652f\u6301\uff08\u4e00\u79cd\u8f6e\u8be2\u6a21\u5f0f,\u4e0d\u63a8\u8350\u5728\u9ad8\u8f7d\u73af\u5883\u4e0b\u4f7f\u7528\uff09\r\n\r\n--without-select_module \u7981\u7528select\u6a21\u5757\r\n\r\n--with-poll_module \u542f\u7528poll\u6a21\u5757\u652f\u6301\uff08\u529f\u80fd\u4e0eselect\u76f8\u540c\uff0c\u4e0eselect\u7279\u6027\u76f8\u540c\uff0c\u4e3a\u4e00\u79cd\u8f6e\u8be2\u6a21\u5f0f,\u4e0d\u63a8\u8350\u5728\u9ad8\u8f7d\u73af\u5883\u4e0b\u4f7f\u7528\uff09\r\n\r\n--with-file-aio \u542f\u7528file aio\u652f\u6301\uff08\u4e00\u79cdAPL\u6587\u4ef6\u4f20\u8f93\u683c\u5f0f\uff09\r\n\r\n--with-ipv6 \u542f\u7528ipv6\u652f\u6301\r\n\r\n--with-http_ssl_module\r\n<\/pre>\n\u542f\u7528ngx_http_ssl_module\u652f\u6301\uff08\u4f7f\u652f\u6301https\u8bf7\u6c42\uff0c\u9700\u5df2\u5b89\u88c5openssl\uff09<\/strong><\/span><\/div>\n\r\n\r\n--with-http_realip_module \u542f\u7528ngx_http_realip_module\u652f\u6301\uff08\u8fd9\u4e2a\u6a21\u5757\u5141\u8bb8\u4ece\u8bf7\u6c42\u6807\u5934\u66f4\u6539\u5ba2\u6237\u7aef\u7684IP\u5730\u5740\u503c\uff0c\u9ed8\u8ba4\u4e3a\u5173\uff09\r\n\r\n--with-http_addition_module \u542f\u7528ngx_http_addition_module\u652f\u6301\uff08\u4f5c\u4e3a\u4e00\u4e2a\u8f93\u51fa\u8fc7\u6ee4\u5668\uff0c\u652f\u6301\u4e0d\u5b8c\u5168\u7f13\u51b2\uff0c\u5206\u90e8\u5206\u54cd\u5e94\u8bf7\u6c42\uff09\r\n\r\n--with-http_xslt_module \u542f\u7528ngx_http_xslt_module\u652f\u6301\uff08\u8fc7\u6ee4\u8f6c\u6362XML\u8bf7\u6c42\uff09\r\n\r\n--with-http_image_filter_module \u542f\u7528ngx_http_image_filter_module\u652f\u6301\uff08\u4f20\u8f93JPEG\/GIF\/PNG \u56fe\u7247\u7684\u4e00\u4e2a\u8fc7\u6ee4\u5668\uff09\uff08\u9ed8\u8ba4\u4e3a\u4e0d\u542f\u7528\u3002gd\u5e93\u8981\u7528\u5230\uff09\r\n\r\n--with-http_geoip_module \u542f\u7528ngx_http_geoip_module\u652f\u6301\uff08\u8be5\u6a21\u5757\u521b\u5efa\u57fa\u4e8e\u4e0eMaxMind GeoIP\u4e8c\u8fdb\u5236\u6587\u4ef6\u76f8\u914d\u7684\u5ba2\u6237\u7aefIP\u5730\u5740\u7684ngx_http_geoip_module\u53d8\u91cf\uff09\r\n\r\n--with-http_sub_module \u542f\u7528ngx_http_sub_module\u652f\u6301\uff08\u5141\u8bb8\u7528\u4e00\u4e9b\u5176\u4ed6\u6587\u672c\u66ff\u6362nginx\u54cd\u5e94\u4e2d\u7684\u4e00\u4e9b\u6587\u672c\uff09\r\n\r\n--with-http_dav_module \u542f\u7528ngx_http_dav_module\u652f\u6301\uff08\u589e\u52a0PUT,DELETE,MKCOL\uff1a\u521b\u5efa\u96c6\u5408,COPY\u548cMOVE\u65b9\u6cd5\uff09\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4e3a\u5173\u95ed\uff0c\u9700\u7f16\u8bd1\u5f00\u542f\r\n\r\n--with-http_flv_module \u542f\u7528ngx_http_flv_module\u652f\u6301\uff08\u63d0\u4f9b\u5bfb\u6c42\u5185\u5b58\u4f7f\u7528\u57fa\u4e8e\u65f6\u95f4\u7684\u504f\u79fb\u91cf\u6587\u4ef6\uff09\r\n\r\n--with-http_gzip_static_module \u542f\u7528ngx_http_gzip_static_module\u652f\u6301\uff08\u5728\u7ebf\u5b9e\u65f6\u538b\u7f29\u8f93\u51fa\u6570\u636e\u6d41\uff09\r\n\r\n--with-http_random_index_module \u542f\u7528ngx_http_random_index_module\u652f\u6301\uff08\u4ece\u76ee\u5f55\u4e2d\u968f\u673a\u6311\u9009\u4e00\u4e2a\u76ee\u5f55\u7d22\u5f15\uff09\r\n\r\n--with-http_secure_link_module \u542f\u7528ngx_http_secure_link_module\u652f\u6301\uff08\u8ba1\u7b97\u548c\u68c0\u67e5\u8981\u6c42\u6240\u9700\u7684\u5b89\u5168\u94fe\u63a5\u7f51\u5740\uff09\r\n\r\n--with-http_degradation_module \u542f\u7528ngx_http_degradation_module\u652f\u6301\uff08\u5141\u8bb8\u5728\u5185\u5b58\u4e0d\u8db3\u7684\u60c5\u51b5\u4e0b\u8fd4\u56de204\u6216444\u7801\uff09\r\n\r\n--with-http_stub_status_module \u542f\u7528ngx_http_stub_status_module\u652f\u6301\uff08\u83b7\u53d6nginx\u81ea\u4e0a\u6b21\u542f\u52a8\u4ee5\u6765\u7684\u5de5\u4f5c\u72b6\u6001\uff09\r\n\r\n--without-http_charset_module \u7981\u7528ngx_http_charset_module\u652f\u6301\uff08\u91cd\u65b0\u7f16\u7801web\u9875\u9762\uff0c\u4f46\u53ea\u80fd\u662f\u4e00\u4e2a\u65b9\u5411--\u670d\u52a1\u5668\u7aef\u5230\u5ba2\u6237\u7aef\uff0c\u5e76\u4e14\u53ea\u6709\u4e00\u4e2a\u5b57\u8282\u7684\u7f16\u7801\u53ef\u4ee5\u88ab\u91cd\u65b0\u7f16\u7801\uff09\r\n\r\n--without-http_gzip_module \u7981\u7528ngx_http_gzip_module\u652f\u6301\uff08\u8be5\u6a21\u5757\u540c-with-http_gzip_static_module\u529f\u80fd\u4e00\u6837\uff09\r\n\r\n--without-http_ssi_module \u7981\u7528ngx_http_ssi_module\u652f\u6301\uff08\u8be5\u6a21\u5757\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5728\u8f93\u5165\u7aef\u5904\u7406\u5904\u7406\u670d\u52a1\u5668\u5305\u542b\u6587\u4ef6\uff08SSI\uff09\u7684\u8fc7\u6ee4\u5668\uff0c\u76ee\u524d\u652f\u6301SSI\u547d\u4ee4\u7684\u5217\u8868\u662f\u4e0d\u5b8c\u6574\u7684\uff09\r\n\r\n--without-http_userid_module \u7981\u7528ngx_http_userid_module\u652f\u6301\uff08\u8be5\u6a21\u5757\u7528\u6765\u5904\u7406\u7528\u6765\u786e\u5b9a\u5ba2\u6237\u7aef\u540e\u7eed\u8bf7\u6c42\u7684cookies\uff09\r\n--without-http_access_module \u7981\u7528ngx_http_access_module\u652f\u6301\uff08\u8be5\u6a21\u5757\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7b80\u5355\u7684\u57fa\u4e8e\u4e3b\u673a\u7684\u8bbf\u95ee\u63a7\u5236\u3002\u5141\u8bb8\/\u62d2\u7edd\u57fa\u4e8eip\u5730\u5740\uff09\r\n\r\n--without-http_auth_basic_module\u7981\u7528ngx_http_auth_basic_module\uff08\u8be5\u6a21\u5757\u662f\u53ef\u4ee5\u4f7f\u7528\u7528\u6237\u540d\u548c\u5bc6\u7801\u57fa\u4e8ehttp\u57fa\u672c\u8ba4\u8bc1\u65b9\u6cd5\u6765\u4fdd\u62a4\u4f60\u7684\u7ad9\u70b9\u6216\u5176\u90e8\u5206\u5185\u5bb9\uff09\r\n\r\n--without-http_autoindex_module \u7981\u7528disable\r\n\r\nngx_http_autoindex_module\u652f\u6301\uff08\u8be5\u6a21\u5757\u7528\u4e8e\u81ea\u52a8\u751f\u6210\u76ee\u5f55\u5217\u8868\uff0c\u53ea\u5728ngx_http_index_module\u6a21\u5757\u672a\u627e\u5230\u7d22\u5f15\u6587\u4ef6\u65f6\u53d1\u51fa\u8bf7\u6c42\u3002\uff09\r\n\r\n--without-http_geo_module \u7981\u7528ngx_http_geo_module\u652f\u6301\uff08\u521b\u5efa\u4e00\u4e9b\u53d8\u91cf\uff0c\u5176\u503c\u4f9d\u8d56\u4e8e\u5ba2\u6237\u7aef\u7684IP\u5730\u5740\uff09\r\n\r\n--without-http_map_module \u7981\u7528ngx_http_map_module\u652f\u6301\uff08\u4f7f\u7528\u4efb\u610f\u7684\u952e\/\u503c\u5bf9\u8bbe\u7f6e\u914d\u7f6e\u53d8\u91cf\uff09\r\n\r\n--without-http_split_clients_module \u7981\u7528ngx_http_split_clients_module\u652f\u6301\uff08\u8be5\u6a21\u5757\u7528\u6765\u57fa\u4e8e\u67d0\u4e9b\u6761\u4ef6\u5212\u5206\u7528\u6237\u3002\u6761\u4ef6\u5982\uff1aip\u5730\u5740\u3001\u62a5\u5934\u3001cookies\u7b49\u7b49\uff09\r\n\r\n--without-http_referer_module \u7981\u7528disable ngx_http_referer_module\u652f\u6301\uff08\u8be5\u6a21\u5757\u7528\u6765\u8fc7\u6ee4\u8bf7\u6c42\uff0c\u62d2\u7edd\u62a5\u5934\u4e2dReferer\u503c\u4e0d\u6b63\u786e\u7684\u8bf7\u6c42\uff09\r\n\r\n--without-http_rewrite_module \u7981\u7528ngx_http_rewrite_module\u652f\u6301\r\n<\/pre>\n\u8be5\u6a21\u5757\u5141\u8bb8\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u6539\u53d8URI\uff0c\u5e76\u4e14\u6839\u636e\u53d8\u91cf\u6765\u8f6c\u5411\u4ee5\u53ca\u9009\u62e9\u914d\u7f6e\u3002<\/p>\n
\u5982\u679c\u5728server\u7ea7\u522b\u8bbe\u7f6e\u8be5\u9009\u9879\uff0c\u90a3\u4e48\u4ed6\u4eec\u5c06\u5728 location\u4e4b\u524d\u751f\u6548\u3002<\/p>\n
\u5982\u679c\u5728location\u8fd8\u6709\u66f4\u8fdb\u4e00\u6b65\u7684\u91cd\u5199\u89c4\u5219\uff0clocation\u90e8\u5206\u7684\u89c4\u5219\u4f9d\u7136\u4f1a\u88ab\u6267\u884c\u3002<\/p>\n
\u5982\u679c\u8fd9\u4e2aURI\u91cd\u5199\u662f\u56e0\u4e3alocation\u90e8\u5206\u7684\u89c4\u5219\u9020\u6210\u7684\uff0c\u90a3\u4e48location\u90e8\u5206\u4f1a\u518d\u6b21\u88ab\u6267\u884c\u4f5c\u4e3a\u65b0\u7684URI\u3002<\/p>\n
\u8fd9\u4e2a\u5faa\u73af\u4f1a\u6267\u884c10\u6b21\uff0c\u7136\u540eNginx\u4f1a\u8fd4\u56de\u4e00\u4e2a500\u9519\u8bef\u3002<\/p>\n
\r\n--without-http_proxy_module \u7981\u7528ngx_http_proxy_module\u652f\u6301\uff08\u6709\u5173\u4ee3\u7406\u670d\u52a1\u5668\uff09\r\n\r\n--without-http_fastcgi_module \u7981\u7528ngx_http_fastcgi_module\u652f\u6301\uff08\u8be5\u6a21\u5757\u5141\u8bb8Nginx \u4e0eFastCGI \u8fdb\u7a0b\u4ea4\u4e92\uff0c\u5e76\u901a\u8fc7\u4f20\u9012\u53c2\u6570\u6765\u63a7\u5236FastCGI \u8fdb\u7a0b\u5de5\u4f5c\u3002 \uff09FastCGI\u4e00\u4e2a\u5e38\u9a7b\u578b\u7684\u516c\u5171\u7f51\u5173\u63a5\u53e3\u3002\r\n\r\n--without-http_uwsgi_module \u7981\u7528ngx_http_uwsgi_module\u652f\u6301\uff08\u8be5\u6a21\u5757\u7528\u6765\u533b\u7528uwsgi\u534f\u8bae\uff0cuWSGI\u670d\u52a1\u5668\u76f8\u5173\uff09\r\n\r\n--without-http_scgi_module \u7981\u7528ngx_http_scgi_module\u652f\u6301\uff08\u8be5\u6a21\u5757\u7528\u6765\u542f\u7528SCGI\u534f\u8bae\u652f\u6301\uff0cSCGI\u534f\u8bae\u662fCGI\u534f\u8bae\u7684\u66ff\u4ee3\u3002\u5b83\u662f\u4e00\u79cd\u5e94\u7528\u7a0b\u5e8f\u4e0eHTTP\u670d\u52a1\u63a5\u53e3\u6807\u51c6\u3002\u5b83\u6709\u4e9b\u50cfFastCGI\u4f46\u4ed6\u7684\u8bbe\u8ba1 \u66f4\u5bb9\u6613\u5b9e\u73b0\u3002\uff09\r\n\r\n--without-http_memcached_module \u7981\u7528ngx_http_memcached_module\u652f\u6301\uff08\u8be5\u6a21\u5757\u7528\u6765\u63d0\u4f9b\u7b80\u5355\u7684\u7f13\u5b58\uff0c\u4ee5\u63d0\u9ad8\u7cfb\u7edf\u6548\u7387\uff09\r\n\r\n-without-http_limit_zone_module \u7981\u7528ngx_http_limit_zone_module\u652f\u6301\uff08\u8be5\u6a21\u5757\u53ef\u4ee5\u9488\u5bf9\u6761\u4ef6\uff0c\u8fdb\u884c\u4f1a\u8bdd\u7684\u5e76\u53d1\u8fde\u63a5\u6570\u63a7\u5236\uff09\r\n\r\n--without-http_limit_req_module \u7981\u7528ngx_http_limit_req_module\u652f\u6301\uff08\u8be5\u6a21\u5757\u5141\u8bb8\u4f60\u5bf9\u4e8e\u4e00\u4e2a\u5730\u5740\u8fdb\u884c\u8bf7\u6c42\u6570\u91cf\u7684\u9650\u5236\u7528\u4e00\u4e2a\u7ed9\u5b9a\u7684session\u6216\u4e00\u4e2a\u7279\u5b9a\u7684\u4e8b\u4ef6\uff09\r\n\r\n--without-http_empty_gif_module \u7981\u7528ngx_http_empty_gif_module\u652f\u6301\uff08\u8be5\u6a21\u5757\u5728\u5185\u5b58\u4e2d\u5e38\u9a7b\u4e86\u4e00\u4e2a1*1\u7684\u900f\u660eGIF\u56fe\u50cf\uff0c\u53ef\u4ee5\u88ab\u975e\u5e38\u5feb\u901f\u7684\u8c03\u7528\uff09\r\n\r\n--without-http_browser_module \u7981\u7528ngx_http_browser_module\u652f\u6301\uff08\u8be5\u6a21\u5757\u7528\u6765\u521b\u5efa\u4f9d\u8d56\u4e8e\u8bf7\u6c42\u62a5\u5934\u7684\u503c\u3002\u5982\u679c\u6d4f\u89c8\u5668\u4e3amodern \uff0c\u5219$modern_browser\u7b49\u4e8emodern_browser_value\u6307\u4ee4\u5206\u914d\u7684\u503c\uff1b\u5982 \u679c\u6d4f\u89c8\u5668\u4e3aold\uff0c\u5219$ancient_browser\u7b49\u4e8e ancient_browser_value\u6307\u4ee4\u5206\u914d\u7684\u503c\uff1b\u5982\u679c\u6d4f\u89c8\u5668\u4e3a MSIE\u4e2d\u7684\u4efb\u610f\u7248\u672c\uff0c\u5219 $msie\u7b49\u4e8e1\uff09\r\n\r\n--without-http_upstream_ip_hash_module \u7981\u7528ngx_http_upstream_ip_hash_module\u652f\u6301\uff08\u8be5\u6a21\u5757\u7528\u4e8e\u7b80\u5355\u7684\u8d1f\u8f7d\u5747\u8861\uff09\r\n\r\n--with-http_perl_module \u542f\u7528ngx_http_perl_module\u652f\u6301\uff08\u8be5\u6a21\u5757\u4f7fnginx\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528perl\u6216\u901a\u8fc7ssi\u8c03\u7528perl\uff09\r\n\r\n--with-perl_modules_path= \u8bbe\u5b9aperl\u6a21\u5757\u8def\u5f84\r\n\r\n--with-perl= \u8bbe\u5b9aperl\u5e93\u6587\u4ef6\u8def\u5f84\r\n\r\n--http-log-path= \u8bbe\u5b9aaccess log\u8def\u5f84\r\n\r\n--http-client-body-temp-path= \u8bbe\u5b9ahttp\u5ba2\u6237\u7aef\u8bf7\u6c42\u4e34\u65f6\u6587\u4ef6\u8def\u5f84\r\n\r\n--http-proxy-temp-path= \u8bbe\u5b9ahttp\u4ee3\u7406\u4e34\u65f6\u6587\u4ef6\u8def\u5f84\r\n\r\n--http-fastcgi-temp-path= \u8bbe\u5b9ahttp fastcgi\u4e34\u65f6\u6587\u4ef6\u8def\u5f84\r\n\r\n--http-uwsgi-temp-path= \u8bbe\u5b9ahttp uwsgi\u4e34\u65f6\u6587\u4ef6\u8def\u5f84\r\n\r\n--http-scgi-temp-path= \u8bbe\u5b9ahttp scgi\u4e34\u65f6\u6587\u4ef6\u8def\u5f84\r\n\r\n-without-http \u7981\u7528http server\u529f\u80fd\r\n\r\n--without-http-cache \u7981\u7528http cache\u529f\u80fd\r\n\r\n--with-mail \u542f\u7528POP3\/IMAP4\/SMTP\u4ee3\u7406\u6a21\u5757\u652f\u6301\r\n\r\n--with-mail_ssl_module \u542f\u7528ngx_mail_ssl_module\u652f\u6301\r\n\r\n--without-mail_pop3_module \u7981\u7528pop3\u534f\u8bae\uff08POP3\u5373\u90ae\u5c40\u534f\u8bae\u7684\u7b2c3\u4e2a\u7248\u672c,\u5b83\u662f\u89c4\u5b9a\u4e2a\u4eba\u8ba1\u7b97\u673a\u5982\u4f55\u8fde\u63a5\u5230\u4e92\u8054\u7f51\u4e0a\u7684\u90ae\u4ef6\u670d\u52a1\u5668\u8fdb\u884c\u6536\u53d1\u90ae\u4ef6\u7684\u534f\u8bae\u3002\u662f\u56e0\u7279\u7f51\u7535\u5b50\u90ae\u4ef6\u7684\u7b2c\u4e00\u4e2a\u79bb\u7ebf\u534f\u8bae\u6807 \u51c6,POP3\u534f\u8bae\u5141\u8bb8\u7528\u6237\u4ece\u670d\u52a1\u5668\u4e0a\u628a\u90ae\u4ef6\u5b58\u50a8\u5230\u672c\u5730\u4e3b\u673a\u4e0a,\u540c\u65f6\u6839\u636e\u5ba2\u6237\u7aef\u7684\u64cd\u4f5c\u5220\u9664\u6216\u4fdd\u5b58\u5728\u90ae\u4ef6\u670d\u52a1\u5668\u4e0a\u7684\u90ae\u4ef6\u3002POP3\u534f\u8bae\u662fTCP\/IP\u534f\u8bae\u65cf\u4e2d\u7684\u4e00\u5458\uff0c\u4e3b\u8981\u7528\u4e8e \u652f\u6301\u4f7f\u7528\u5ba2\u6237\u7aef\u8fdc\u7a0b\u7ba1\u7406\u5728\u670d\u52a1\u5668\u4e0a\u7684\u7535\u5b50\u90ae\u4ef6\uff09\r\n\r\n--without-mail_imap_module \u7981\u7528imap\u534f\u8bae\uff08\u4e00\u79cd\u90ae\u4ef6\u83b7\u53d6\u534f\u8bae\u3002\u5b83\u7684\u4e3b\u8981\u4f5c\u7528\u662f\u90ae\u4ef6\u5ba2\u6237\u7aef\u53ef\u4ee5\u901a\u8fc7\u8fd9\u79cd\u534f\u8bae\u4ece\u90ae\u4ef6\u670d\u52a1\u5668\u4e0a\u83b7\u53d6\u90ae\u4ef6\u7684\u4fe1\u606f\uff0c\u4e0b\u8f7d\u90ae\u4ef6\u7b49\u3002IMAP\u534f\u8bae\u8fd0\u884c\u5728TCP\/IP\u534f\u8bae\u4e4b\u4e0a\uff0c \u4f7f\u7528\u7684\u7aef\u53e3\u662f143\u3002\u5b83\u4e0ePOP3\u534f\u8bae\u7684\u4e3b\u8981\u533a\u522b\u662f\u7528\u6237\u53ef\u4ee5\u4e0d\u7528\u628a\u6240\u6709\u7684\u90ae\u4ef6\u5168\u90e8\u4e0b\u8f7d\uff0c\u53ef\u4ee5\u901a\u8fc7\u5ba2\u6237\u7aef\u76f4\u63a5\u5bf9\u670d\u52a1\u5668\u4e0a\u7684\u90ae\u4ef6\u8fdb\u884c\u64cd\u4f5c\u3002\uff09\r\n\r\n--without-mail_smtp_module \u7981\u7528smtp\u534f\u8bae\uff08SMTP\u5373\u7b80\u5355\u90ae\u4ef6\u4f20\u8f93\u534f\u8bae,\u5b83\u662f\u4e00\u7ec4\u7528\u4e8e\u7531\u6e90\u5730\u5740\u5230\u76ee\u7684\u5730\u5740\u4f20\u9001\u90ae\u4ef6\u7684\u89c4\u5219\uff0c\u7531\u5b83\u6765\u63a7\u5236\u4fe1\u4ef6\u7684\u4e2d\u8f6c\u65b9\u5f0f\u3002SMTP\u534f\u8bae\u5c5e\u4e8eTCP\/IP\u534f\u8bae\u65cf\uff0c\u5b83\u5e2e\u52a9\u6bcf\u53f0\u8ba1\u7b97\u673a\u5728\u53d1\u9001\u6216\u4e2d\u8f6c\u4fe1\u4ef6\u65f6\u627e\u5230\u4e0b\u4e00\u4e2a\u76ee\u7684\u5730\u3002\uff09\r\n\r\n--with-google_perftools_module \u542f\u7528ngx_google_perftools_module\u652f\u6301\uff08\u8c03\u8bd5\u7528\uff0c\u5256\u6790\u7a0b\u5e8f\u6027\u80fd\u74f6\u9888\uff09\r\n\r\n--with-cpp_test_module \u542f\u7528ngx_cpp_test_module\u652f\u6301\r\n\r\n--add-module= \u542f\u7528\u5916\u90e8\u6a21\u5757\u652f\u6301\r\n\r\n--with-cc= \u6307\u5411C\u7f16\u8bd1\u5668\u8def\u5f84\r\n\r\n--with-cpp= \u6307\u5411C\u9884\u5904\u7406\u8def\u5f84\r\n\r\n--with-cc-opt= \u8bbe\u7f6eC\u7f16\u8bd1\u5668\u53c2\u6570\uff08PCRE\u5e93\uff0c\u9700\u8981\u6307\u5b9a\u2013with-cc-opt=\u201d-I \/usr\/local\/include\u201d\uff0c\u5982\u679c\u4f7f\u7528select()\u51fd\u6570\u5219\u9700\u8981\u540c\u65f6\u589e\u52a0\u6587\u4ef6\u63cf\u8ff0\u7b26\u6570\u91cf\uff0c\u53ef\u4ee5\u901a\u8fc7\u2013with-cc- opt=\u201d-D FD_SETSIZE=2048\u201d\u6307\u5b9a\u3002\uff09\r\n\r\n--with-ld-opt= \u8bbe\u7f6e\u8fde\u63a5\u6587\u4ef6\u53c2\u6570\u3002\uff08PCRE\u5e93\uff0c\u9700\u8981\u6307\u5b9a\u2013with-ld-opt=\u201d-L \/usr\/local\/lib\u201d\u3002\uff09\r\n\r\n--with-cpu-opt= \u6307\u5b9a\u7f16\u8bd1\u7684CPU\uff0c\u53ef\u7528\u7684\u503c\u4e3a: pentium, pentiumpro, pentium3, pentium4, athlon, opteron, amd64, sparc32, sparc64, ppc64\r\n\r\n--without-pcre \u7981\u7528pcre\u5e93\r\n\r\n--with-pcre \u542f\u7528pcre\u5e93\r\n\r\n--with-pcre= \u6307\u5411pcre\u5e93\u6587\u4ef6\u76ee\u5f55\r\n\r\n--with-pcre-opt= \u5728\u7f16\u8bd1\u65f6\u4e3apcre\u5e93\u8bbe\u7f6e\u9644\u52a0\u53c2\u6570\r\n\r\n--with-md5= \u6307\u5411md5\u5e93\u6587\u4ef6\u76ee\u5f55\uff08\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u7b2c\u4e94\u7248\uff0c\u7528\u4ee5\u63d0\u4f9b\u6d88\u606f\u7684\u5b8c\u6574\u6027\u4fdd\u62a4\uff09\r\n\r\n--with-md5-opt= \u5728\u7f16\u8bd1\u65f6\u4e3amd5\u5e93\u8bbe\u7f6e\u9644\u52a0\u53c2\u6570\r\n\r\n--with-md5-asm \u4f7f\u7528md5\u6c47\u7f16\u6e90\r\n\r\n--with-sha1= \u6307\u5411sha1\u5e93\u76ee\u5f55\uff08\u6570\u5b57\u7b7e\u540d\u7b97\u6cd5\uff0c\u4e3b\u8981\u7528\u4e8e\u6570\u5b57\u7b7e\u540d\uff09\r\n\r\n--with-sha1-opt= \u5728\u7f16\u8bd1\u65f6\u4e3asha1\u5e93\u8bbe\u7f6e\u9644\u52a0\u53c2\u6570\r\n\r\n--with-sha1-asm \u4f7f\u7528sha1\u6c47\u7f16\u6e90\r\n\r\n--with-zlib= \u6307\u5411zlib\u5e93\u76ee\u5f55\r\n\r\n--with-zlib-opt= \u5728\u7f16\u8bd1\u65f6\u4e3azlib\u8bbe\u7f6e\u9644\u52a0\u53c2\u6570\r\n\r\n--with-zlib-asm= \u4e3a\u6307\u5b9a\u7684CPU\u4f7f\u7528zlib\u6c47\u7f16\u6e90\u8fdb\u884c\u4f18\u5316\uff0cCPU\u7c7b\u578b\u4e3apentium, pentiumpro\r\n\r\n--with-libatomic \u4e3a\u539f\u5b50\u5185\u5b58\u7684\u66f4\u65b0\u64cd\u4f5c\u7684\u5b9e\u73b0\u63d0\u4f9b\u4e00\u4e2a\u67b6\u6784\r\n\r\n--with-libatomic= \u6307\u5411libatomic_ops\u5b89\u88c5\u76ee\u5f55\r\n\r\n--with-openssl= \u6307\u5411openssl\u5b89\u88c5\u76ee\u5f55\r\n\r\n--with-openssl-opt \u5728\u7f16\u8bd1\u65f6\u4e3aopenssl\u8bbe\u7f6e\u9644\u52a0\u53c2\u6570\r\n\r\n--with-debug \u542f\u7528debug\u65e5\u5fd7\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"–prefix= \u6307\u5411\u5b89\u88c5\u76ee\u5f55 –sbin-path \u6307\u5411\uff08\u6267\u884c\uff09\u7a0b\u5e8f\u6587\u4ef6\uff08nginx\uff09 –conf-p […]<\/p>\n","protected":false},"author":668,"featured_media":110704,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-139200","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/139200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/users\/668"}],"replies":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/comments?post=139200"}],"version-history":[{"count":5,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/139200\/revisions"}],"predecessor-version":[{"id":139276,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/139200\/revisions\/139276"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media\/110704"}],"wp:attachment":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media?parent=139200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/categories?post=139200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/tags?post=139200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}