static-php-cli/assets/en_guide_index.md.C0gwKWb1.js
2025-09-24 07:47:25 +00:00

2 lines
3.5 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as e,c as r,o,ah as d}from"./chunks/framework.Bhsyh9kO.js";const c=JSON.parse('{"title":"Guide","description":"","frontmatter":{},"headers":[],"relativePath":"en/guide/index.md","filePath":"en/guide/index.md"}'),i={name:"en/guide/index.md"};function a(n,t,s,p,l,u){return o(),r("div",null,[...t[0]||(t[0]=[d('<h1 id="guide" tabindex="-1">Guide <a class="header-anchor" href="#guide" aria-label="Permalink to “Guide”"></a></h1><p>Static php cli is a tool used to build statically compiled PHP binaries, currently supporting Linux and macOS systems.</p><p>In the guide section, you will learn how to use static php cli to build standalone PHP programs.</p><ul><li><a href="./manual-build.html">Build (local)</a></li><li><a href="./action-build.html">Build (GitHub Actions)</a></li><li><a href="./extensions.html">Supported Extensions</a></li></ul><h2 id="compilation-environment" tabindex="-1">Compilation Environment <a class="header-anchor" href="#compilation-environment" aria-label="Permalink to “Compilation Environment”"></a></h2><p>The following is the architecture support situation, where ⚙️ represents support for GitHub Action build, 💻 represents support for local manual build, and empty represents temporarily not supported.</p><table tabindex="0"><thead><tr><th></th><th>x86_64</th><th>aarch64</th></tr></thead><tbody><tr><td>macOS</td><td>⚙️ 💻</td><td>⚙️ 💻</td></tr><tr><td>Linux</td><td>⚙️ 💻</td><td>⚙️ 💻</td></tr><tr><td>Windows</td><td>⚙️ 💻</td><td></td></tr><tr><td>FreeBSD</td><td>💻</td><td>💻</td></tr></tbody></table><p>Current supported PHP versions for compilation:</p><blockquote><p>⚠️ Partial support, there may be issues with new beta versions and old versions.</p><p>✔️ Supported</p><p>❌ Not supported</p></blockquote><table tabindex="0"><thead><tr><th>PHP Version</th><th>Status</th><th>Comment</th></tr></thead><tbody><tr><td>7.2</td><td>❌</td><td></td></tr><tr><td>7.3</td><td>❌</td><td>phpmicro and many extensions do not support 7.3, 7.4 versions</td></tr><tr><td>7.4</td><td>❌</td><td>phpmicro and many extensions do not support 7.3, 7.4 versions</td></tr><tr><td>8.0</td><td>⚠️</td><td>PHP official has stopped maintaining 8.0, we no longer handle 8.0 related backport support</td></tr><tr><td>8.1</td><td>⚠️</td><td>PHP official only provides security updates for 8.1, we no longer handle 8.1 related backport support after 8.5 release</td></tr><tr><td>8.2</td><td>✔️</td><td></td></tr><tr><td>8.3</td><td>✔️</td><td></td></tr><tr><td>8.4</td><td>✔️</td><td></td></tr><tr><td>8.5 (beta)</td><td>⚠️</td><td>PHP 8.5 is currently in beta stage</td></tr></tbody></table><blockquote><p>This table shows the support status of static-php-cli for building corresponding versions, not the PHP official support status for that version.</p></blockquote><h2 id="php-support-versions" tabindex="-1">PHP Support Versions <a class="header-anchor" href="#php-support-versions" aria-label="Permalink to “PHP Support Versions”"></a></h2><p>Currently, static-php-cli supports PHP versions 8.2 ~ 8.5, and theoretically supports PHP 8.1 and earlier versions, just select the earlier version when downloading. However, due to some extensions and special components that have stopped supporting earlier versions of PHP, static-php-cli will not explicitly support earlier versions. We recommend that you compile the latest PHP version possible for a better experience.</p>',13)])])}const m=e(i,[["render",a]]);export{c as __pageData,m as default};