123456789101112131415161718192021222324 |
- <!DOCTYPE html>
- <html lang="en-US" dir="ltr">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width,initial-scale=1">
- <title>static-php-cli</title>
- <meta name="description" content="Build single static PHP binary, with PHP project together, with popular extensions included.">
- <meta name="generator" content="VitePress v1.2.3">
- <link rel="preload stylesheet" href="/assets/style.U5vXWbqS.css" as="style">
-
- <script type="module" src="/assets/app.D3H8Y1BO.js"></script>
- <link rel="preload" href="/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
- <link rel="modulepreload" href="/assets/chunks/framework.gjrnbxUT.js">
- <link rel="modulepreload" href="/assets/chunks/theme.5IQMzWyn.js">
- <link rel="modulepreload" href="/assets/deps-map-lib.md.BKtXgOTT.lean.js">
- <script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
- <script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
- </head>
- <body>
- <div id="app"><div class="Layout" data-v-5d98c3a5><!--[--><!--]--><!--[--><span tabindex="-1" data-v-0f60ec36></span><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-0f60ec36> Skip to content </a><!--]--><!----><header class="VPNav" data-v-5d98c3a5 data-v-ae24b3ad><div class="VPNavBar top" data-v-ae24b3ad data-v-ccf7ddec><div class="wrapper" data-v-ccf7ddec><div class="container" data-v-ccf7ddec><div class="title" data-v-ccf7ddec><div class="VPNavBarTitle" data-v-ccf7ddec data-v-ab179fa1><a class="title" href="/" data-v-ab179fa1><!--[--><!--]--><!----><span data-v-ab179fa1>static-php-cli</span><!--[--><!--]--></a></div></div><div class="content" data-v-ccf7ddec><div class="content-body" data-v-ccf7ddec><!--[--><!--]--><div class="VPNavBarSearch search" data-v-ccf7ddec><!----></div><nav aria-labelledby="main-nav-aria-label" class="VPNavBarMenu menu" data-v-ccf7ddec data-v-7f418b0f><span id="main-nav-aria-label" class="visually-hidden" data-v-7f418b0f>Main Navigation</span><!--[--><!--]--></nav><!----><div class="VPNavBarAppearance appearance" data-v-ccf7ddec data-v-e6aabb21><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title="Switch to dark theme" aria-checked="false" data-v-e6aabb21 data-v-d1f28634 data-v-1d5665e3><span class="check" data-v-1d5665e3><span class="icon" data-v-1d5665e3><!--[--><span class="vpi-sun sun" data-v-d1f28634></span><span class="vpi-moon moon" data-v-d1f28634></span><!--]--></span></span></button></div><div class="VPSocialLinks VPNavBarSocialLinks social-links" data-v-ccf7ddec data-v-0394ad82 data-v-7bc22406><!--[--><a class="VPSocialLink no-icon" href="https://github.com/crazywhalecc/static-php-cli" aria-label="github" target="_blank" rel="noopener" data-v-7bc22406 data-v-eee4e7cb><span class="vpi-social-github" /></a><!--]--></div><div class="VPFlyout VPNavBarExtra extra" data-v-ccf7ddec data-v-d0bd9dde data-v-b6c34ac9><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="extra navigation" data-v-b6c34ac9><span class="vpi-more-horizontal icon" data-v-b6c34ac9></span></button><div class="menu" data-v-b6c34ac9><div class="VPMenu" data-v-b6c34ac9 data-v-e7ea1737><!----><!--[--><!--[--><!----><div class="group" data-v-d0bd9dde><div class="item appearance" data-v-d0bd9dde><p class="label" data-v-d0bd9dde>Appearance</p><div class="appearance-action" data-v-d0bd9dde><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title="Switch to dark theme" aria-checked="false" data-v-d0bd9dde data-v-d1f28634 data-v-1d5665e3><span class="check" data-v-1d5665e3><span class="icon" data-v-1d5665e3><!--[--><span class="vpi-sun sun" data-v-d1f28634></span><span class="vpi-moon moon" data-v-d1f28634></span><!--]--></span></span></button></div></div></div><div class="group" data-v-d0bd9dde><div class="item social-links" data-v-d0bd9dde><div class="VPSocialLinks social-links-list" data-v-d0bd9dde data-v-7bc22406><!--[--><a class="VPSocialLink no-icon" href="https://github.com/crazywhalecc/static-php-cli" aria-label="github" target="_blank" rel="noopener" data-v-7bc22406 data-v-eee4e7cb><span class="vpi-social-github" /></a><!--]--></div></div></div><!--]--><!--]--></div></div></div><!--[--><!--]--><button type="button" class="VPNavBarHamburger hamburger" aria-label="mobile navigation" aria-expanded="false" aria-controls="VPNavScreen" data-v-ccf7ddec data-v-e5dd9c1c><span class="container" data-v-e5dd9c1c><span class="top" data-v-e5dd9c1c></span><span class="middle" data-v-e5dd9c1c></span><span class="bottom" data-v-e5dd9c1c></span></span></button></div></div></div></div><div class="divider" data-v-ccf7ddec><div class="divider-line" data-v-ccf7ddec></div></div></div><!----></header><div class="VPLocalNav empty fixed" data-v-5d98c3a5 data-v-a6f0e41e><div class="container" data-v-a6f0e41e><!----><div class="VPLocalNavOutlineDropdown" style="--vp-vh:0px;" data-v-a6f0e41e data-v-17a5e62e><button data-v-17a5e62e>Return to top</button><!----></div></div></div><!----><div class="VPContent" id="VPContent" data-v-5d98c3a5 data-v-1428d186><div class="VPDoc has-aside" data-v-1428d186 data-v-39a288b8><!--[--><!--]--><div class="container" data-v-39a288b8><div class="aside" data-v-39a288b8><div class="aside-curtain" data-v-39a288b8></div><div class="aside-container" data-v-39a288b8><div class="aside-content" data-v-39a288b8><div class="VPDocAside" data-v-39a288b8 data-v-3f215769><!--[--><!--]--><!--[--><!--]--><nav aria-labelledby="doc-outline-aria-label" class="VPDocAsideOutline" data-v-3f215769 data-v-a5bbad30><div class="content" data-v-a5bbad30><div class="outline-marker" data-v-a5bbad30></div><div aria-level="2" class="outline-title" id="doc-outline-aria-label" role="heading" data-v-a5bbad30>On this page</div><ul class="VPDocOutlineItem root" data-v-a5bbad30 data-v-b933a997><!--[--><!--]--></ul></div></nav><!--[--><!--]--><div class="spacer" data-v-3f215769></div><!--[--><!--]--><!----><!--[--><!--]--><!--[--><!--]--></div></div></div></div><div class="content" data-v-39a288b8><div class="content-container" data-v-39a288b8><!--[--><!--]--><main class="main" data-v-39a288b8><div style="position:relative;" class="vp-doc _deps-map-lib" data-v-39a288b8><div><h3 id="linux" tabindex="-1">Linux <a class="header-anchor" href="#linux" aria-label="Permalink to "Linux""></a></h3><table tabindex="0"><thead><tr><th>Library Name</th><th>Required Libraries</th><th>Suggested Libraries</th></tr></thead><tbody><tr><td><b>curl</b></td><td>openssl<br>zlib</td><td>libssh2<br>brotli<br>nghttp2<br>zstd<br>libcares</td></tr><tr><td><b>freetype</b></td><td>zlib</td><td>libpng<br>bzip2<br>brotli</td></tr><tr><td><b>gettext</b></td><td>libiconv</td><td>ncurses<br>libxml2</td></tr><tr><td><b>grpc</b></td><td>zlib</td><td></td></tr><tr><td><b>imagemagick</b></td><td>zlib<br>libpng<br>libjpeg<br>libwebp<br>freetype<br>libtiff</td><td>zstd<br>xz<br>bzip2<br>libzip<br>libxml2</td></tr><tr><td><b>imap</b></td><td></td><td>openssl</td></tr><tr><td><b>ldap</b></td><td>openssl<br>zlib<br>gmp<br>libsodium</td><td></td></tr><tr><td><b>libevent</b></td><td>openssl</td><td></td></tr><tr><td><b>libpng</b></td><td>zlib</td><td></td></tr><tr><td><b>librabbitmq</b></td><td>openssl</td><td></td></tr><tr><td><b>libssh2</b></td><td>openssl</td><td>zlib</td></tr><tr><td><b>libxml2</b></td><td>libiconv</td><td>xz<br>icu<br>zlib</td></tr><tr><td><b>libxslt</b></td><td>libxml2</td><td></td></tr><tr><td><b>libzip</b></td><td>zlib</td><td>bzip2<br>xz<br>zstd<br>openssl</td></tr><tr><td><b>nghttp2</b></td><td>zlib<br>openssl</td><td>libxml2</td></tr><tr><td><b>openssl</b></td><td>zlib</td><td></td></tr><tr><td><b>postgresql</b></td><td>libiconv<br>libxml2<br>openssl<br>zlib<br>readline</td><td>icu<br>libxslt<br>ldap<br>zstd</td></tr><tr><td><b>readline</b></td><td>ncurses</td><td></td></tr><tr><td><b>snappy</b></td><td>zlib</td><td></td></tr><tr><td><b>unixodbc</b></td><td>libiconv</td><td></td></tr><tr><td><b>xz</b></td><td>libiconv</td><td></td></tr></tbody></table><h3 id="macos" tabindex="-1">macOS <a class="header-anchor" href="#macos" aria-label="Permalink to "macOS""></a></h3><table tabindex="0"><thead><tr><th>Library Name</th><th>Required Libraries</th><th>Suggested Libraries</th></tr></thead><tbody><tr><td><b>curl</b></td><td>openssl<br>zlib</td><td>libssh2<br>brotli<br>nghttp2<br>zstd<br>libcares</td></tr><tr><td><b>freetype</b></td><td>zlib</td><td>libpng<br>bzip2<br>brotli</td></tr><tr><td><b>gettext</b></td><td>libiconv</td><td>ncurses<br>libxml2</td></tr><tr><td><b>grpc</b></td><td>zlib</td><td></td></tr><tr><td><b>imagemagick</b></td><td>zlib<br>libpng<br>libjpeg<br>libwebp<br>freetype<br>libtiff</td><td>zstd<br>xz<br>bzip2<br>libzip<br>libxml2</td></tr><tr><td><b>imap</b></td><td></td><td>openssl</td></tr><tr><td><b>ldap</b></td><td>openssl<br>zlib<br>gmp<br>libsodium</td><td></td></tr><tr><td><b>libevent</b></td><td>openssl</td><td></td></tr><tr><td><b>libpng</b></td><td>zlib</td><td></td></tr><tr><td><b>librabbitmq</b></td><td>openssl</td><td></td></tr><tr><td><b>libssh2</b></td><td>openssl</td><td>zlib</td></tr><tr><td><b>libxml2</b></td><td>libiconv</td><td>xz<br>icu<br>zlib</td></tr><tr><td><b>libxslt</b></td><td>libxml2</td><td></td></tr><tr><td><b>libzip</b></td><td>zlib</td><td>bzip2<br>xz<br>zstd<br>openssl</td></tr><tr><td><b>nghttp2</b></td><td>zlib<br>openssl</td><td>libxml2</td></tr><tr><td><b>openssl</b></td><td>zlib</td><td></td></tr><tr><td><b>postgresql</b></td><td>libiconv<br>libxml2<br>openssl<br>zlib<br>readline</td><td>icu<br>libxslt<br>ldap<br>zstd</td></tr><tr><td><b>readline</b></td><td>ncurses</td><td></td></tr><tr><td><b>snappy</b></td><td>zlib</td><td></td></tr><tr><td><b>unixodbc</b></td><td>libiconv</td><td></td></tr><tr><td><b>xz</b></td><td>libiconv</td><td></td></tr></tbody></table><h3 id="windows" tabindex="-1">Windows <a class="header-anchor" href="#windows" aria-label="Permalink to "Windows""></a></h3><table tabindex="0"><thead><tr><th>Library Name</th><th>Required Libraries</th><th>Suggested Libraries</th></tr></thead><tbody><tr><td><b>curl</b></td><td>openssl<br>zlib<br>libssh2<br>nghttp2</td><td>brotli<br>zstd</td></tr><tr><td><b>freetype</b></td><td>zlib</td><td>libpng<br>bzip2<br>brotli</td></tr><tr><td><b>libjpeg</b></td><td></td><td>zlib</td></tr><tr><td><b>libpng</b></td><td>zlib</td><td></td></tr><tr><td><b>librabbitmq</b></td><td>openssl</td><td></td></tr><tr><td><b>libssh2</b></td><td>openssl</td><td>zlib</td></tr><tr><td><b>libxml2</b></td><td>libiconv-win</td><td>zlib</td></tr><tr><td><b>libzip</b></td><td>zlib<br>bzip2<br>xz</td><td>zstd<br>openssl</td></tr><tr><td><b>nghttp2</b></td><td>zlib<br>openssl</td><td>libxml2</td></tr><tr><td><b>openssl</b></td><td>zlib</td><td></td></tr></tbody></table><h3 id="freebsd" tabindex="-1">FreeBSD <a class="header-anchor" href="#freebsd" aria-label="Permalink to "FreeBSD""></a></h3><table tabindex="0"><thead><tr><th>Library Name</th><th>Required Libraries</th><th>Suggested Libraries</th></tr></thead><tbody><tr><td><b>curl</b></td><td>openssl<br>zlib</td><td>libssh2<br>brotli<br>nghttp2<br>zstd<br>libcares</td></tr><tr><td><b>openssl</b></td><td>zlib</td><td></td></tr></tbody></table></div></div></main><footer class="VPDocFooter" data-v-39a288b8 data-v-d4a0bba5><!--[--><!--]--><!----><!----></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>
- <script>window.__VP_HASH_MAP__=JSON.parse("{\"en_develop_index.md\":\"B7_c9YYa\",\"en_contributing_index.md\":\"CsY8mx8F\",\"zh_develop_system-build-tools.md\":\"Ds53VEw1\",\"zh_faq_index.md\":\"CLzv-BYW\",\"zh_guide_action-build.md\":\"DWMlBDvT\",\"zh_guide_cli-generator.md\":\"1nqHKSIw\",\"zh_guide_deps-map.md\":\"CDLAslHS\",\"zh_guide_extension-notes.md\":\"CBzvwDoL\",\"zh_guide_env-vars.md\":\"CfYA93uA\",\"zh_guide_build-on-windows.md\":\"BxVEYT8r\",\"zh_guide_index.md\":\"DV_b9M-6\",\"zh_guide_troubleshooting.md\":\"Da-RmPO_\",\"zh_index.md\":\"LslJ1UMp\",\"zh_develop_php-src-changes.md\":\"Df0-NcBw\",\"en_develop_structure.md\":\"BA5PDIse\",\"en_guide_action-build.md\":\"BKamBazh\",\"en_guide_cli-generator.md\":\"BmwyuOtj\",\"en_guide_deps-map.md\":\"9BjfenQS\",\"extension-notes.md\":\"Bw8xYOie\",\"en_guide_env-vars.md\":\"DXDG6yvH\",\"en_guide_extension-notes.md\":\"tqVryutE\",\"en_guide_troubleshooting.md\":\"BC56sVyT\",\"en_index.md\":\"Cbpb4iAg\",\"extensions.md\":\"DNwc8Rjt\",\"deps-map-lib.md\":\"BKtXgOTT\",\"en_develop_doctor-module.md\":\"DGd8PeM_\",\"zh_guide_extensions.md\":\"DHWdjla2\",\"deps-map-ext.md\":\"Dm1vf8Tb\",\"en_guide_extensions.md\":\"kZoaWcUD\",\"index.md\":\"mKXtywCA\",\"en_guide_index.md\":\"pM3F40Xx\",\"zh_contributing_index.md\":\"BvgdahxO\",\"zh_develop_doctor-module.md\":\"DgFAPT6E\",\"zh_develop_source-module.md\":\"D0odLsHX\",\"zh_develop_structure.md\":\"B-0RMSSw\",\"en_develop_source-module.md\":\"CdOHR0ez\",\"en_guide_manual-build.md\":\"DEVM2gPi\",\"zh_develop_index.md\":\"-CPpDfMx\",\"en_guide_build-on-windows.md\":\"DfGh0GYv\",\"en_faq_index.md\":\"bJ1fxGWg\",\"zh_guide_manual-build.md\":\"Bn5obQFN\",\"en_develop_system-build-tools.md\":\"D6vaAwN3\",\"en_develop_php-src-changes.md\":\"DLlooohw\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"static-php-cli\",\"description\":\"Build single static PHP binary, with PHP project together, with popular extensions included.\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"nav\":[],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/crazywhalecc/static-php-cli\"}]},\"locales\":{\"en\":{\"label\":\"English\",\"lang\":\"en\",\"themeConfig\":{\"nav\":[{\"text\":\"Guide\",\"link\":\"/en/guide/\"},{\"text\":\"Advanced\",\"link\":\"/en/develop/\"},{\"text\":\"Contributing\",\"link\":\"/en/contributing/\"},{\"text\":\"FAQ\",\"link\":\"/en/faq/\"}],\"sidebar\":{\"/en/guide/\":[{\"text\":\"Guide\",\"items\":[{\"text\":\"Guide\",\"link\":\"/en/guide/\"},{\"text\":\"Actions Build\",\"link\":\"/en/guide/action-build\"},{\"text\":\"Manual Build\",\"link\":\"/en/guide/manual-build\"},{\"text\":\"Extension List\",\"link\":\"/en/guide/extensions\"},{\"text\":\"Extension Notes\",\"link\":\"/en/guide/extension-notes\"},{\"text\":\"Command Generator\",\"link\":\"/en/guide/cli-generator\"},{\"text\":\"Environment Variables\",\"link\":\"/en/guide/env-vars\",\"collapsed\":true},{\"text\":\"Dependency Table\",\"link\":\"/en/guide/deps-map\"}]},{\"items\":[{\"text\":\"Troubleshooting\",\"link\":\"/en/guide/troubleshooting\"},{\"text\":\"Build on Windows\",\"link\":\"/en/guide/build-on-windows\"}]}],\"/en/develop/\":[{\"text\":\"Development\",\"items\":[{\"text\":\"Get Started\",\"link\":\"/en/develop/\"},{\"text\":\"Project Structure\",\"link\":\"/en/develop/structure\"},{\"text\":\"PHP Source Modification\",\"link\":\"/en/develop/php-src-changes\"}]},{\"text\":\"Module\",\"items\":[{\"text\":\"Doctor \",\"link\":\"/en/develop/doctor-module\"},{\"text\":\"Source\",\"link\":\"/en/develop/source-module\"}]},{\"text\":\"Extra\",\"items\":[{\"text\":\"Compilation Tools\",\"link\":\"/en/develop/system-build-tools\"}]}],\"/en/contributing/\":[{\"text\":\"Contributing\",\"items\":[{\"text\":\"Contributing\",\"link\":\"/en/contributing/\"}]}]},\"footer\":{\"message\":\"Released under the MIT License.\",\"copyright\":\"Copyright © 2023-present crazywhalecc\"}}},\"zh\":{\"label\":\"简体中文\",\"lang\":\"zh\",\"themeConfig\":{\"nav\":[{\"text\":\"构建指南\",\"link\":\"/zh/guide/\"},{\"text\":\"进阶\",\"link\":\"/zh/develop/\"},{\"text\":\"贡献\",\"link\":\"/zh/contributing/\"},{\"text\":\"FAQ\",\"link\":\"/zh/faq/\"}],\"sidebar\":{\"/zh/guide/\":[{\"text\":\"构建指南\",\"items\":[{\"text\":\"指南\",\"link\":\"/zh/guide/\"},{\"text\":\"Actions 构建\",\"link\":\"/zh/guide/action-build\"},{\"text\":\"本地构建\",\"link\":\"/zh/guide/manual-build\"},{\"text\":\"扩展列表\",\"link\":\"/zh/guide/extensions\"},{\"text\":\"扩展注意事项\",\"link\":\"/zh/guide/extension-notes\"},{\"text\":\"编译命令生成器\",\"link\":\"/zh/guide/cli-generator\"},{\"text\":\"环境变量列表\",\"link\":\"/zh/guide/env-vars\"},{\"text\":\"依赖关系图表\",\"link\":\"/zh/guide/deps-map\"}]},{\"items\":[{\"text\":\"故障排除\",\"link\":\"/zh/guide/troubleshooting\"},{\"text\":\"在 Windows 上构建\",\"link\":\"/zh/guide/build-on-windows\"}]}],\"/zh/develop/\":[{\"text\":\"开发指南\",\"items\":[{\"text\":\"开发简介\",\"link\":\"/zh/develop/\"},{\"text\":\"项目结构简介\",\"link\":\"/zh/develop/structure\"},{\"text\":\"对 PHP 源码的修改\",\"link\":\"/zh/develop/php-src-changes\"}]},{\"text\":\"模块\",\"items\":[{\"text\":\"Doctor 环境检查工具\",\"link\":\"/zh/develop/doctor-module\"},{\"text\":\"资源模块\",\"link\":\"/zh/develop/source-module\"}]},{\"text\":\"其他\",\"items\":[{\"text\":\"系统编译工具\",\"link\":\"/zh/develop/system-build-tools\"}]}],\"/zh/contributing/\":[{\"text\":\"贡献指南\",\"items\":[{\"text\":\"贡献指南\",\"link\":\"/zh/contributing/\"}]}]},\"footer\":{\"message\":\"Released under the MIT License.\",\"copyright\":\"Copyright © 2023-present crazywhalecc\"}}}},\"scrollOffset\":134,\"cleanUrls\":false}");</script>
-
- </body>
- </html>
|