📄 apxs.html.ko.euc-kr
字号:
<?xml version="1.0" encoding="EUC-KR"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
<title>apxs - APache eXtenSion 档备 - Apache HTTP Server</title>
<link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
<link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
<link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
<link href="../images/favicon.ico" rel="shortcut icon" /></head>
<body id="manual-page"><div id="page-header">
<p class="menu"><a href="../mod/">葛碘</a> | <a href="../mod/directives.html">瘤矫绢甸</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">侩绢</a> | <a href="../sitemap.html">荤捞飘甘</a></p>
<p class="apache">Apache HTTP Server Version 2.0</p>
<img alt="" src="../images/feather.gif" /></div>
<div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
<div id="path">
<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.0</a> > <a href="./">Programs</a></div><div id="page-content"><div id="preamble"><h1>apxs - APache eXtenSion 档备</h1>
<div class="toplang">
<p><span>啊瓷茄 攫绢: </span><a href="../en/programs/apxs.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="../ko/programs/apxs.html" title="Korean"> ko </a></p>
</div>
<div class="outofdate">捞 巩辑绰 弥脚魄 锅开捞 酒凑聪促.
弥辟俊 函版等 郴侩篮 康绢 巩辑甫 曼绊窍技夸.</div>
<p><code>apxs</code>绰 酒颇摹 窍捞欺咆胶飘 傈价 橇肺配妮
(HTTP) 辑滚狼 犬厘葛碘阑 哪颇老窍绊 汲摹窍绰 档备捞促. 捞
档备绰 咯矾 家胶客 坷宏璃飘<var>颇老</var>阑 啊瘤绊,
<code class="module"><a href="../mod/mod_so.html">mod_so</a></code>狼 <code class="directive"><a href="../mod/mod_so.html#loadmodule">LoadModule</a></code> 瘤矫绢肺 角青吝俊
酒颇摹 辑滚肺 佬绢甸老 荐 乐绰 悼利傍蜡按眉(DSO)甫 父电促.</p>
<p>弊贰辑 捞繁 犬厘规侥阑 荤侩窍妨搁 敲贰汽捞 DSO 扁瓷阑
瘤盔窍绊 酒颇摹 <code>httpd</code> 角青颇老阑
<code class="module"><a href="../mod/mod_so.html">mod_so</a></code> 葛碘苞 鞍捞 哪颇老秦具 茄促.
<code>apxs</code> 档备绰 捞 炼扒捞 父练窍瘤臼栏搁 角青窍瘤
臼绰促. 流立 疙飞绢甫 角青窍咯 炼扒捞 父练窍绰瘤 舅酒杭
荐 乐促</p>
<div class="example"><p><code>
$ httpd -l
</code></p></div>
<p>格废俊 <code class="module"><a href="../mod/mod_so.html">mod_so</a></code> 葛碘捞 唱客具 茄促. 炼扒阑
父练窍搁 <code>apxs</code> 档备肺 DSO 葛碘阑 汲摹窍咯
酒颇摹辑滚狼 扁瓷阑 奖霸 犬厘且 荐 乐促:</p>
<div class="example"><p><code>
$ apxs -i -a -c mod_foo.c<br />
gcc -fpic -DSHARED_MODULE -I/path/to/apache/include -c mod_foo.c<br />
ld -Bshareable -o mod_foo.so mod_foo.o<br />
cp mod_foo.so /path/to/apache/modules/mod_foo.so<br />
chmod 755 /path/to/apache/modules/mod_foo.so<br />
[activating module `foo' in /path/to/apache/etc/httpd.conf]<br />
$ apachectl restart<br />
/path/to/apache/sbin/apachectl restart: httpd not running, trying to start<br />
[Tue Mar 31 11:27:55 1998] [debug] mod_so.c(303): loaded module foo_module<br />
/path/to/apache/sbin/apachectl restart: httpd started<br />
$ _
</code></p></div>
<p>酒痹刚飘 <var>files</var>俊绰 C 家胶颇老 (.c) 捞唱
坷宏璃飘颇老 (.o), 扼捞宏矾府葛澜 (.a)阑 荤侩且 荐 乐促.
<code>apxs</code> 档备绰 犬厘磊甫 焊绊 磊悼栏肺 C 家胶颇老篮
哪颇老窍绊, 坷宏璃飘客 葛澜颇老篮 傅农俊父 荤侩茄促. 弊矾唱
哪颇老茄 坷宏璃飘甫 荤侩窍妨搁 悼利栏肺 佬绢甸老 荐 乐绰
傍蜡按眉肺 荤侩窍扁困秦 馆靛矫 坷宏璃飘甫 困摹刀赋内靛(PIC,
position independent code)肺 哪颇老秦具 茄促. GCC狼 版快
<code>-fpic</code>阑 荤侩窍搁 等促. 促弗 C 哪颇老矾绰 汲疙辑甫
曼绊窍芭唱 <code>apxs</code>啊 坷宏璃飘颇老阑 哪颇老且锭
荤侩窍绰 可记阑 曼绊窍扼.</p>
<p>酒颇摹狼 DSO 瘤盔俊 措茄 歹 磊技茄 郴侩篮
<code class="module"><a href="../mod/mod_so.html">mod_so</a></code> 巩辑甫 曼绊窍芭唱
<code>src/modules/standard/mod_so.c</code> 家胶颇老阑 佬绢毫扼.</p>
</div>
<div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#synopsis">俺夸</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#options">可记</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#examples">抗力</a></li>
</ul><h3>曼绊</h3><ul class="seealso"><li><a href="apachectl.html">apachectl</a></li><li><a href="httpd.html">httpd</a></li></ul></div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="synopsis" id="synopsis">俺夸</a></h2>
<p><code><strong>apxs</strong> -<strong>g</strong>
[ -<strong>S</strong> <var>name</var>=<var>value</var> ]
-<strong>n</strong> <var>modname</var></code></p>
<p><code><strong>apxs</strong> -<strong>q</strong>
[ -<strong>S</strong> <var>name</var>=<var>value</var> ]
<var>query</var> ...</code></p>
<p><code><strong>apxs</strong> -<strong>c</strong>
[ -<strong>S</strong> <var>name</var>=<var>value</var> ]
[ -<strong>o</strong> <var>dsofile</var> ]
[ -<strong>I</strong> <var>incdir</var> ]
[ -<strong>D</strong> <var>name</var>=<var>value</var> ]
[ -<strong>L</strong> <var>libdir</var> ]
[ -<strong>l</strong> <var>libname</var> ]
[ -<strong>Wc,</strong><var>compiler-flags</var> ]
[ -<strong>Wl,</strong><var>linker-flags</var> ]
<var>files</var> ...</code></p>
<p><code><strong>apxs</strong> -<strong>i</strong>
[ -<strong>S</strong> <var>name</var>=<var>value</var> ]
[ -<strong>n</strong> <var>modname</var> ]
[ -<strong>a</strong> ]
[ -<strong>A</strong> ]
<var>dso-file</var> ...</code></p>
<p><code><strong>apxs</strong> -<strong>e</strong>
[ -<strong>S</strong> <var>name</var>=<var>value</var> ]
[ -<strong>n</strong> <var>modname</var> ]
[ -<strong>a</strong> ]
[ -<strong>A</strong> ]
<var>dso-file</var> ...</code></p>
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="options" id="options">可记</a></h2>
<h3><a name="options.common" id="options.common">傍烹 可记</a></h3>
<dl>
<dt><code>-n <var>modname</var></code></dt>
<dd><code>-i</code> (install)苞 <code>-g</code> (template
generation) 可记阑 荤侩且锭 流立 葛碘疙阑 瘤沥茄促. 捞
可记阑 荤侩窍咯 葛碘疙阑 流立 瘤沥茄促. <code>-g</code>
可记阑 荤侩茄促搁 捞 可记阑 馆靛矫 荤侩秦具窍绊,
<code>-i</code> 可记阑 荤侩茄促搁 <code>apxs</code> 档备绰
家胶唱 (付瘤阜 矫档肺) 颇老疙阑 啊瘤绊 捞抚阑 眠螟茄促.</dd>
</dl>
<h3><a name="options.query" id="options.query">龙狼 可记</a></h3>
<dl>
<dt><code>-q</code></dt>
<dd><code>apxs</code>狼 汲沥蔼阑 舅酒辰促. <var>query</var>俊绰
促澜阑 荤侩且 荐 乐促: <code>CC</code>, <code>CFLAGS</code>,
<code>CFLAGS_SHLIB</code>, <code>INCLUDEDIR</code>,
<code>LD_SHLIB</code>, <code>LDFLAGS_SHLIB</code>,
<code>LIBEXECDIR</code>, <code>LIBS_SHLIB</code>,
<code>SBINDIR</code>, <code>SYSCONFDIR</code>, <code>TARGET</code>.
<p>汲沥阑 流立 舅酒尘锭 荤侩茄促.</p>
<div class="example"><p><code>
INC=-I`apxs -q INCLUDEDIR`
</code></p></div>
<p>抗甫 甸绢, 酒颇摹 C 庆歹颇老阑 流立 立辟茄促搁
Makefile俊辑 困客 鞍捞 荤侩茄促.</p></dd>
</dl>
<h3><a name="options.conf" id="options.conf">汲沥 可记</a></h3>
<dl>
<dt><code>-S <var>name</var>=<var>value</var></code></dt>
<dd>捞 可记篮 困俊辑 汲疙茄 apxs 汲沥阑 函版茄促.</dd>
</dl>
<h3><a name="options.template" id="options.template">斑夯(template) 积己 可记</a></h3>
<dl>
<dt><code>-g</code></dt>
<dd>窍困叼泛配府 <var>name</var>阑 父甸绊 (<code>-n</code>
可记 曼绊) 弊镑俊 颇老 滴俺甫 父电促: 茄 颇老篮
<code>mod_<var>name</var>.c</code>扼绰 斑夯 葛碘家胶颇老肺,
磊脚狼 葛碘阑 父甸锭 斑夯栏肺 荤侩窍芭唱 apxs 扁瓷阑
矫氰秦杭锭 荤侩茄促. 促弗 颇老篮 捞 葛碘阑 奖霸 哪颇老窍绊
汲摹窍扁困茄 <code>Makefile</code>捞促.</dd>
</dl>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -