⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 install.pecl.pear.html

📁 php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Compiling shared PECL extensions with the pecl command</title>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="install.pecl.windows.find.html">Where to find an extension?</a></div> <div class="next" style="text-align: right; float: right;"><a href="install.pecl.phpize.html">Compiling shared PECL extensions with phpize</a></div> <div class="up"><a href="install.pecl.html">Installation of PECL extensions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="install.pecl.pear" class="sect1">  <h2 class="title">Compiling shared PECL extensions with the pecl command</h2>  <p class="simpara">   PECL makes it easy to create shared PHP extensions. Using the    <a href="http://pear.php.net/manual/en/installation.php" class="link external">&raquo; pecl command</a>, do the following:  </p>  <p class="para">   <div class="example-contents"><pre>$ pecl install extname   </pre></div>  </p>  <p class="simpara">   This will download the source for <em class="emphasis">extname</em>,    compile, and install <var class="filename">extname.so</var> into your <a href="ini.core.html#ini.extension-dir" class="link">extension_dir</a>.     <var class="filename">extname.so</var> may then be loaded via <var class="filename">php.ini</var>  </p>  <p class="simpara">   By default, the <i>pecl</i> command will not install   packages that are marked with the <i>alpha</i> or   <i>beta</i> state.  If no <i>stable</i> packages   are available, you may install a <i>beta</i> package using the   following command:  </p>  <p class="para">   <div class="example-contents"><pre>$ pecl install extname-beta   </pre></div>  </p>  <p class="para">   You may also install a specific version using this variant:  </p>  <p class="para">   <div class="example-contents"><pre>$ pecl install extname-0.1   </pre></div>  </p>  <blockquote><p><b class="note">Note</b>:        After enabling the extension in <var class="filename">php.ini</var>, restarting the web service is    required for the changes to be picked up.   <br />  </p></blockquote> </div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="install.pecl.windows.find.html">Where to find an extension?</a></div> <div class="next" style="text-align: right; float: right;"><a href="install.pecl.phpize.html">Compiling shared PECL extensions with phpize</a></div> <div class="up"><a href="install.pecl.html">Installation of PECL extensions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -