mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-19 05:14:52 +08:00
Update README-en.md
This commit is contained in:
parent
0e33380df5
commit
74a34362c3
@ -78,12 +78,13 @@ git clone https://github.com/crazywhalecc/static-php-cli.git
|
|||||||
|
|
||||||
If you have not installed php on your system, you can use package management to install PHP (such as brew, apt, yum, apk etc.).
|
If you have not installed php on your system, you can use package management to install PHP (such as brew, apt, yum, apk etc.).
|
||||||
|
|
||||||
And you can also download single-file php binary and composer first.
|
And you can also download single-file php binary and composer using command `bin/setup-runtime`.
|
||||||
The PHP runtime for static-php-cli itself will be downloaded at `bin/php`, and composer is at `bin/composer`.
|
The PHP runtime for static-php-cli itself will be downloaded at `bin/php`, and composer is at `bin/composer`.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd static-php-cli
|
cd static-php-cli
|
||||||
chmod +x bin/setup-runtime
|
chmod +x bin/setup-runtime
|
||||||
|
# It will download php-cli from self-hosted server and composer from getcomposer.org
|
||||||
./bin/setup-runtime
|
./bin/setup-runtime
|
||||||
|
|
||||||
# Use this php runtime to run static-php-cli compiler
|
# Use this php runtime to run static-php-cli compiler
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user