File manager - Edit - /usr/local/lswsbak/docs/zh-CN/CompilePHP_Help.html
Back
<!DOCTYPE html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <title>OpenLiteSpeed Users' Manual - 编译PHP</title> <meta name="description" content="OpenLiteSpeed Users' Manual - 编译PHP." /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="robots" content="noindex"> <link rel="shortcut icon" href="../img/favicon.ico" /> <link rel="stylesheet" type="text/css" href="../css/hdoc.css"> </head> <body> <div class="pagewrapper clearfix"><aside class="sidetree ls-col-1-5"> <figure> <img src="img/ols_logo.svg" alt="openlitespeed logo" width="150px"/> </figure> <h2 class="ls-text-thin"> OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a> </h2> <h3 class="ls-text-muted">Version 1.8 — Rev. 3</h3> <hr/> <div> <ul> <li><a href="license.html">License</a></li> <li><a href="intro.html">Introduction</a></li> <li><a href="install.html">Installation</a></li> <li> <a href="admin.html">Administration</a> <ul class="level2"> <li><a href="ServerStat_Help.html">Service Manager</a></li> <li><a href="Real_Time_Stats_Help.html">Real-Time Stats</a></li> </ul> </li> <li><a href="security.html">Security</a></li> <li> <a href="config.html">Configuration</a> <ul class="level2"> <li><a href="ServGeneral_Help.html">Server General</a></li> <li><a href="ServLog_Help.html">Server Log</a></li> <li><a href="ServTuning_Help.html">Server Tuning</a></li> <li><a href="ServSecurity_Help.html">Server Security</a></li> <li><a href="ExtApp_Help.html">External Apps</a></li> <ul class="level3"> <li><a href="External_FCGI.html">Fast CGI App</a></li> <li><a href="External_FCGI_Auth.html">Fast CGI Authorizer</a></li> <li><a href="External_LSAPI.html">LSAPI App</a></li> <li><a href="External_Servlet.html">Servlet Engine</a></li> <li><a href="External_WS.html">Web Server</a></li> <li><a href="External_PL.html">Piped logger</a></li> <li><a href="External_LB.html">Load Balancer</a></li> </ul> <li><a href="ScriptHandler_Help.html">Script Handler</a></li> <li><a href="App_Server_Help.html">App Server Settings</a></li> <li><a href="Module_Help.html">Module Configuration</a></li> <li><a href="Listeners_General_Help.html">Listener General</a></li> <li><a href="Listeners_SSL_Help.html">Listener SSL</a></li> <li><a href="Templates_Help.html">Virtual Host Templates</a></li> <li><a href="VirtualHosts_Help.html">Virtual Host Basic</a></li> <li><a href="VHGeneral_Help.html">Virtual Host General</a></li> <li><a href="VHSecurity_Help.html">Virtual Host Security</a></li> <li><a href="VHSSL_Help.html">Virtual Host SSL</a></li> <li><a href="Rewrite_Help.html">Rewrite</a></li> <li><a href="Context_Help.html">Context</a></li> <ul class="level3"> <li><a href="Static_Context.html">Static Context</a></li> <li> <a href="Java_Web_App_Context.html">Java Web App Context</a> </li> <li><a href="Servlet_Context.html">Servlet Context</a></li> <li><a href="FCGI_Context.html">Fast CGI Context</a></li> <li><a href="LSAPI_Context.html">LSAPI Context</a></li> <li><a href="Proxy_Context.html">Proxy Context</a></li> <li><a href="CGI_Context.html">CGI Context</a></li> <li><a href="LB_Context.html">Load Balancer Context</a></li> <li><a href="Redirect_Context.html">Redirect Context</a></li> <li><a href="App_Server_Context.html">App Server Context</a></li> <li><a href="Module_Context.html">Module Handler Context</a></li> </ul> <li><a href="VHWebSocket_Help.html">Web Socket Proxy</a></li> </ul> </li> <li><a href="webconsole.html">Web Console</a> <ul class="level2"> <li><a href="AdminGeneral_Help.html">Admin Console General</a></li> <li><a href="AdminSecurity_Help.html">Admin Console Security</a></li> <li> <a href="AdminListeners_General_Help.html"> Admin Listener General </a> </li> <li> <a href="AdminListeners_SSL_Help.html">Admin Listener SSL</a> </li> </ul> </li> </ul> </div> </aside> <article class="contentwrapper ls-col-3-5 clearfix"><div class="nav-bar ls-spacer-micro-top"><div class="prev">« <a href="webconsole.html">Web Console</a></div><div class="center"><a href="index.html">主页</a></div><div class="next"> </div></div> <h1>编译PHP</h1><h2 id="top">Table of Contents</h2><section class="toc"><section class="toc-row"><header>编译PHP</header><p> <a href="#extrapathenv">额外的PATH环境变量</a> | <a href="#installpathprefix">安装路径前缀</a> | <a href="#compilerflags">编译器标志</a> | <a href="#configureparams">配置参数</a> | <a href="#addonmodules">附加模块</a></p></section> </section> <section><div class="helpitem"><article class="ls-helpitem"><div><header id="extrapathenv"><h3>额外的PATH环境变量<span class="ls-permlink"><a href="#extrapathenv"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>将其他用于构建脚本的路径附加到当前PATH环境变量中。</p> <h4>Syntax</h4><p>多个路径以“:”分隔</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="installpathprefix"><h3>安装路径前缀<span class="ls-permlink"><a href="#installpathprefix"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>设置“--prefix”配置选项的值。 默认安装位置在LiteSpeed Web服务器的安装目录。</p> <h4>Syntax</h4><p>路径</p> <h4>例子</h4><div class="ls-example">/usr/local/lsws/lsphp5</div><h4>提示</h4><p><span title="Information" class="ls-icon-info"></span> LiteSpeed Web Server可以同时使用多个PHP版本。 如果要安装多个版本,则 应该给他们不同的前缀。</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="compilerflags"><h3>编译器标志<span class="ls-permlink"><a href="#compilerflags"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>添加其他编译器标志,例如优化的编译器选项。</p> <h4>Syntax</h4><p>支持的标志有CFLAGS, CXXFLAGS, CPPFLAGS, LDFLAGS.使用空格分隔不同的标志。 对于标志值,请使用单引号(而不是双引号)</p> <h4>例子</h4><div class="ls-example">CFLAGS='-O3 -msse2 -msse3 -msse4.1 -msse4.2 -msse4 -mavx'</div></article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="configureparams"><h3>配置参数<span class="ls-permlink"><a href="#configureparams"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>为PHP构建配置参数。当您单击下一步时,Apache特定的参数和“--prefix”值将被自动删除,并且“--with-litespeed”将自动追加。(前缀可以在上面的字段中设置)通过这种方式,您可以简单地复制并粘贴现有PHP的phpinfo()输出的配置参数。</p> <h4>Syntax</h4><p>空格分隔多个选项(带或不带双引号)</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="addonmodules"><h3>附加模块<span class="ls-permlink"><a href="#addonmodules"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>选择您想使用的附加模块。 如果你想使用一个没有在这里列出的版本,你可以手动更新源代码。(源代码的位置会在PHP构建的这一步中显示出来。)</p> <h4>Syntax</h4><p>从复选框中选择</p> </article> </div> </section> </article><div class="ls-col-1-1"><footer class="copyright">Copyright © 2013-2020. <a href="https://www.litespeedtech.com">LiteSpeed Technologies Inc.</a> 版权所有.</footer> </div></div> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings