deploy: 8d303348d98d86b376515e23ee3b08dfec9ecffd

This commit is contained in:
henderkes 2025-09-05 09:53:03 +00:00
parent 6eb384b65d
commit 0ef353bbe7
54 changed files with 56 additions and 56 deletions

File diff suppressed because one or more lines are too long

View File

@ -86,7 +86,7 @@ import{_ as s,c as e,o as a,ah as n}from"./chunks/framework.Bhsyh9kO.js";const k
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">bin/spc</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> doctor</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># Quickly check and fix when it can be automatically repaired (use package management to install dependent packages, only support the above-mentioned operating systems and distributions)</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">bin/spc</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> doctor</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --auto-fix</span></span></code></pre></div><h3 id="command-build" tabindex="-1">Command - build <a class="header-anchor" href="#command-build" aria-label="Permalink to Command - build"></a></h3><p>Use the build command to start building the static php binary. Before executing the <code>bin/spc build</code> command, be sure to use the <code>download</code> command to download sources. It is recommended to use <code>doctor</code> to check the environment.</p><h4 id="basic-build" tabindex="-1">Basic build <a class="header-anchor" href="#basic-build" aria-label="Permalink to Basic build"></a></h4><p>You need to go to <a href="./extensions.html">Extension List</a> or <a href="./cli-generator.html">Command Generator</a> to select the extension you want to add, and then use the command <code>bin/spc build</code> to compile. You need to specify a compilation target, choose from the following parameters:</p><ul><li><code>--build-cli</code>: Build a cli sapi (command line interface, which can execute PHP code on the command line)</li><li><code>--build-fpm</code>: Build a fpm sapi (php-fpm, used in conjunction with other traditional fpm architecture software such as nginx)</li><li><code>--build-micro</code>: Build a micro sapi (used to build a standalone executable binary containing PHP code)</li><li><code>--build-embed</code>: Build an embed sapi (used to embed into other C language programs)</li><li><code>--build-frankenphp</code>: Build a <a href="https://github.com/php/frankenphp" target="_blank" rel="noreferrer">FrankenPHP</a> executable</li><li><code>--build-all</code>: build all above sapi</li></ul><div class="language-bash"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes github-light github-dark" style="--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e;" tabindex="0" dir="ltr"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># Compile PHP with bcmath,curl,openssl,ftp,posix,pcntl extensions, the compilation target is cli</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">bin/spc</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> doctor</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --auto-fix</span></span></code></pre></div><h3 id="command-build" tabindex="-1">Command - build <a class="header-anchor" href="#command-build" aria-label="Permalink to Command - build"></a></h3><p>Use the build command to start building the static php binary. Before executing the <code>bin/spc build</code> command, be sure to use the <code>download</code> command to download sources. It is recommended to use <code>doctor</code> to check the environment.</p><h4 id="basic-build" tabindex="-1">Basic build <a class="header-anchor" href="#basic-build" aria-label="Permalink to Basic build"></a></h4><p>You need to go to <a href="./extensions.html">Extension List</a> or <a href="./cli-generator.html">Command Generator</a> to select the extension you want to add, and then use the command <code>bin/spc build</code> to compile. You need to specify a compilation target, choose from the following parameters:</p><ul><li><code>--build-cli</code>: Build a cli sapi (command line interface, which can execute PHP code on the command line)</li><li><code>--build-fpm</code>: Build a fpm sapi (php-fpm, used in conjunction with other traditional fpm architecture software such as nginx)</li><li><code>--build-cgi</code>: Build a cgi sapi (cgi, rarely used)</li><li><code>--build-micro</code>: Build a micro sapi (used to build a standalone executable binary containing PHP code)</li><li><code>--build-embed</code>: Build an embed sapi (used to embed into other C language programs)</li><li><code>--build-frankenphp</code>: Build a <a href="https://github.com/php/frankenphp" target="_blank" rel="noreferrer">FrankenPHP</a> executable</li><li><code>--build-all</code>: build all above sapi</li></ul><div class="language-bash"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes github-light github-dark" style="--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e;" tabindex="0" dir="ltr"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># Compile PHP with bcmath,curl,openssl,ftp,posix,pcntl extensions, the compilation target is cli</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">bin/spc</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> build</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> bcmath,curl,openssl,ftp,posix,pcntl</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --build-cli</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># Compile PHP with phar,curl,posix,pcntl,tokenizer extensions, compile target is micro</span></span>

View File

@ -81,7 +81,7 @@ import{_ as i,c as a,o as n,ah as l}from"./chunks/framework.Bhsyh9kO.js";const o
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">bin/spc</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> doctor</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># 快速检查并在可以自动修复的时候修复使用包管理安装依赖包仅支持上述提到的操作系统及发行版</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">bin/spc</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> doctor</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --auto-fix</span></span></code></pre></div><h3 id="-build--php" tabindex="-1"> build - PHP <a class="header-anchor" href="#-build--php" aria-label="Permalink to build - PHP"></a></h3><p>使 build php <code>bin/spc build</code> 使 <code>download</code> 使 <code>doctor</code> </p><h4 id="" tabindex="-1"> <a class="header-anchor" href="#" aria-label="Permalink to "></a></h4><p> <a href="./extensions.html"></a> <a href="./cli-generator.html"></a> 使 <code>bin/spc build</code> </p><ul><li><code>--build-cli</code>: cli sapi PHP </li><li><code>--build-fpm</code>: fpm sapiphp-fpm fpm nginx 使</li><li><code>--build-micro</code>: micro sapi PHP </li><li><code>--build-embed</code>: embed sapi C </li><li><code>--build-frankenphp</code>: <a href="https://github.com/php/frankenphp" target="_blank" rel="noreferrer">frankenphp</a> </li><li><code>--build-all</code>: sapi</li></ul><div class="language-bash"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes github-light github-dark" style="--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e;" tabindex="0" dir="ltr"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># PHP bcmath,curl,openssl,ftp,posix,pcntl cli</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">bin/spc</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> doctor</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --auto-fix</span></span></code></pre></div><h3 id="-build--php" tabindex="-1"> build - PHP <a class="header-anchor" href="#-build--php" aria-label="Permalink to build - PHP"></a></h3><p>使 build php <code>bin/spc build</code> 使 <code>download</code> 使 <code>doctor</code> </p><h4 id="" tabindex="-1"> <a class="header-anchor" href="#" aria-label="Permalink to "></a></h4><p> <a href="./extensions.html"></a> <a href="./cli-generator.html"></a> 使 <code>bin/spc build</code> </p><ul><li><code>--build-cli</code>: cli sapi PHP </li><li><code>--build-fpm</code>: fpm sapiphp-fpm fpm nginx 使</li><li><code>--build-cgi</code>: cgi sapicgi cgi apache 使</li><li><code>--build-micro</code>: micro sapi PHP </li><li><code>--build-embed</code>: embed sapi C </li><li><code>--build-frankenphp</code>: <a href="https://github.com/php/frankenphp" target="_blank" rel="noreferrer">frankenphp</a> </li><li><code>--build-all</code>: sapi</li></ul><div class="language-bash"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes github-light github-dark" style="--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e;" tabindex="0" dir="ltr"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># PHP bcmath,curl,openssl,ftp,posix,pcntl cli</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">bin/spc</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> build</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> bcmath,curl,openssl,ftp,posix,pcntl</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --build-cli</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># 编译 PHP附带 phar,curl,posix,pcntl,tokenizer 扩展编译目标为 micro</span></span>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"deps-craft-yml.md":"DqNYV3B0","deps-map-ext.md":"BVAR3McO","deps-map-lib.md":"BnsDnV_s","en_contributing_index.md":"fCA6lXnW","en_develop_craft-yml.md":"Ci97ssL7","en_develop_doctor-module.md":"BTDyp-aK","en_develop_index.md":"DUNrUVP9","en_develop_php-src-changes.md":"dN8aSiwg","en_develop_source-module.md":"hhJuiZD0","en_develop_structure.md":"X2JId3N9","en_develop_system-build-tools.md":"BmQhyTle","en_faq_index.md":"B89Sredc","en_guide_action-build.md":"Dnzq6gNC","en_guide_build-on-windows.md":"DiYVSaPG","en_guide_build-with-glibc.md":"CkVR75n5","en_guide_cli-generator.md":"q_BZ_Z7C","en_guide_deps-map.md":"BUF4uebw","en_guide_env-vars.md":"51DQ7bvx","en_guide_extension-notes.md":"CHFGRiKx","en_guide_extensions.md":"UqRV3ESR","en_guide_index.md":"BC5dTAQW","en_guide_manual-build.md":"D7BTH2HF","en_guide_troubleshooting.md":"D19jRB1K","en_index.md":"WiGlW8EH","extension-notes.md":"BB7Xlw1w","extensions.md":"hO1GVZPt","index.md":"AJG02Jxt","zh_contributing_index.md":"fiiKMXnj","zh_develop_craft-yml.md":"CAUu6v38","zh_develop_doctor-module.md":"1NRXIINs","zh_develop_index.md":"CRxnJZDt","zh_develop_php-src-changes.md":"CwVUc0oE","zh_develop_source-module.md":"3iGbQTPs","zh_develop_structure.md":"CEd1RycZ","zh_develop_system-build-tools.md":"CQ4BvPVa","zh_faq_index.md":"BihV7puH","zh_guide_action-build.md":"CQ3Vf3i9","zh_guide_build-on-windows.md":"oogWrPn_","zh_guide_build-with-glibc.md":"CHXyK61r","zh_guide_cli-generator.md":"iYR_rOpk","zh_guide_deps-map.md":"Cu7XhPTT","zh_guide_env-vars.md":"CtNlqGk4","zh_guide_extension-notes.md":"BCwDjBZH","zh_guide_extensions.md":"DEhoyCES","zh_guide_index.md":"C3GV6eqU","zh_guide_manual-build.md":"DVCjR4yy","zh_guide_troubleshooting.md":"BRQLW2WP","zh_index.md":"Dv99zA_s"}
{"deps-craft-yml.md":"DqNYV3B0","deps-map-ext.md":"BVAR3McO","deps-map-lib.md":"BnsDnV_s","en_contributing_index.md":"fCA6lXnW","en_develop_craft-yml.md":"Ci97ssL7","en_develop_doctor-module.md":"BTDyp-aK","en_develop_index.md":"DUNrUVP9","en_develop_php-src-changes.md":"dN8aSiwg","en_develop_source-module.md":"hhJuiZD0","en_develop_structure.md":"X2JId3N9","en_develop_system-build-tools.md":"BmQhyTle","en_faq_index.md":"B89Sredc","en_guide_action-build.md":"Dnzq6gNC","en_guide_build-on-windows.md":"DiYVSaPG","en_guide_build-with-glibc.md":"CkVR75n5","en_guide_cli-generator.md":"q_BZ_Z7C","en_guide_deps-map.md":"BUF4uebw","en_guide_env-vars.md":"51DQ7bvx","en_guide_extension-notes.md":"CHFGRiKx","en_guide_extensions.md":"UqRV3ESR","en_guide_index.md":"BC5dTAQW","en_guide_manual-build.md":"DPsGII1D","en_guide_troubleshooting.md":"D19jRB1K","en_index.md":"WiGlW8EH","extension-notes.md":"BB7Xlw1w","extensions.md":"hO1GVZPt","index.md":"AJG02Jxt","zh_contributing_index.md":"fiiKMXnj","zh_develop_craft-yml.md":"CAUu6v38","zh_develop_doctor-module.md":"1NRXIINs","zh_develop_index.md":"CRxnJZDt","zh_develop_php-src-changes.md":"CwVUc0oE","zh_develop_source-module.md":"3iGbQTPs","zh_develop_structure.md":"CEd1RycZ","zh_develop_system-build-tools.md":"CQ4BvPVa","zh_faq_index.md":"BihV7puH","zh_guide_action-build.md":"CQ3Vf3i9","zh_guide_build-on-windows.md":"oogWrPn_","zh_guide_build-with-glibc.md":"CHXyK61r","zh_guide_cli-generator.md":"iYR_rOpk","zh_guide_deps-map.md":"Cu7XhPTT","zh_guide_env-vars.md":"CtNlqGk4","zh_guide_extension-notes.md":"BCwDjBZH","zh_guide_extensions.md":"DEhoyCES","zh_guide_index.md":"C3GV6eqU","zh_guide_manual-build.md":"C3iksvHw","zh_guide_troubleshooting.md":"BRQLW2WP","zh_index.md":"Dv99zA_s"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long