File tree Expand file tree Collapse file tree 4 files changed +26
-30
lines changed
Expand file tree Collapse file tree 4 files changed +26
-30
lines changed Original file line number Diff line number Diff line change 1- # x86_64 运行 arm64
1+ # 在 ` x86_64 ` 平台模拟 ` arm64 `
22
3- > 使用 qemu-user-static 实现
3+ 使用 ` qemu-user-static ` 实现
44
55## 参考文档
66
7- qemu
8- https://www.qemu.org/
9- https://github.com/qemu/qemu.git
10-
11- qemu-user-static
12- https://github.com/multiarch/qemu-user-static.git
13-
14- x86 平台利用 qemu-user-static 实现 arm64 平台 docker 镜像的运行和构建
15- https://www.cnblogs.com/chen2ha/p/17180287.html
16-
17- Docker在x86架构的物理机上跑Qemu-arm 容器
18- https://blog.csdn.net/sunSHINEEzy/article/details/80015638
7+ - [ qemu 官网] ( https://www.qemu.org/ )
8+ - [ qemu GitHub] ( https://github.com/qemu/qemu.git )
9+ - [ qemu-user-static] ( https://github.com/multiarch/qemu-user-static.git )
10+ - [ x86 平台利用 qemu-user-static 实现 arm64 平台 docker 镜像的运行和构建] ( https://www.cnblogs.com/chen2ha/p/17180287.html )
11+ - [ Docker在x86架构的物理机上跑Qemu-arm 容器] ( https://blog.csdn.net/sunSHINEEzy/article/details/80015638 )
1912
2013
Original file line number Diff line number Diff line change 1- # 当环境中没有 PHP 解释器时 可以快速安装 PHP 解释器
1+ # 常见问题
22
3- ``` bash
3+ ## 快速安装 ` PHP ` 解释器
44
5- # alpine
5+ ### Alpine
66
7- sh sapi/quickstart/linux/extra/alpine-php-init.sh
7+ ``` bash
8+ sh sapi/quickstart/linux/extra/alpine-php-init.sh
9+ ```
810
9- # # debian
11+ ### Debian/Ubuntu
1012
13+ ``` bash
1114bash sapi/quickstart/linux/extra/debian-php-init.sh
12-
1315```
1416
15- ``` bash
16- wget -O composer.phar https://mirrors.aliyun.com/composer/composer.phar
17+ ## 安装 ` Composer `
1718
19+ ``` bash
20+ wget -O composer.phar https://mirrors.aliyun.com/composer/composer.phar
1821```
1922
20- ## c c++编译器 组合
23+ ## ` C/C++ ` 编译器组合
2124
22- - 组合一 clang clang++
23- - 组合二 gcc g++
25+ - ` clang ` + ` clang++ `
26+ - ` gcc ` + ` g++ `
2427
Original file line number Diff line number Diff line change 4242
4343if [ -n " $http_proxy " ] || [ -n " $https_proxy " ] || [ -n " $HTTP_PROXY " ] || [ -n " $HTTPS_PROXY " ]; then
4444 set +u
45- uset http_proxy
46- uset https_proxy
47- uset HTTP_PROXY
48- uset HTTPS_PROXY
45+ unset http_proxy
46+ unset https_proxy
47+ unset HTTP_PROXY
48+ unset HTTPS_PROXY
4949 set -u
5050fi
5151
Original file line number Diff line number Diff line change 1- #! /usr/bin/env bash
21<?php
32/**
43 * @var $this SwooleCli\Preprocessor
76use SwooleCli \Preprocessor ;
87
98?>
9+ #!/usr/bin/env bash
1010__PROJECT_DIR__=$(cd "$(dirname "$0")"; pwd)
1111CLI_BUILD_TYPE=<?= $ this ->getBuildType () . PHP_EOL ?>
1212SRC=<?= $ this ->phpSrcDir . PHP_EOL ?>
You can’t perform that action at this time.
0 commit comments