-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #905 from jingjingxyk/build_native_php
Build native php
- Loading branch information
Showing
30 changed files
with
194 additions
and
260 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,13 @@ | ||
# x86_64 运行 arm64 | ||
> 使用 qemu-user-static 实现 | ||
# 在 `x86_64` 平台模拟 `arm64` | ||
|
||
## 参考文档 | ||
qemu | ||
https://www.qemu.org/ | ||
https://github.com/qemu/qemu.git | ||
|
||
qemu-user-static | ||
https://github.com/multiarch/qemu-user-static.git | ||
使用 `qemu-user-static` 实现 | ||
|
||
x86 平台利用 qemu-user-static 实现 arm64 平台 docker 镜像的运行和构建 | ||
https://www.cnblogs.com/chen2ha/p/17180287.html | ||
## 参考文档 | ||
|
||
Docker在x86架构的物理机上跑Qemu-arm 容器 | ||
https://blog.csdn.net/sunSHINEEzy/article/details/80015638 | ||
- [qemu 官网](https://www.qemu.org/) | ||
- [qemu GitHub](https://github.com/qemu/qemu.git) | ||
- [qemu-user-static](https://github.com/multiarch/qemu-user-static.git) | ||
- [x86 平台利用 qemu-user-static 实现 arm64 平台 docker 镜像的运行和构建](https://www.cnblogs.com/chen2ha/p/17180287.html) | ||
- [Docker在x86架构的物理机上跑Qemu-arm 容器](https://blog.csdn.net/sunSHINEEzy/article/details/80015638) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,32 @@ | ||
# | ||
# 常见问题 | ||
|
||
## 当环境中没有 PHP 解释器时 可以快速安装 PHP 解释器 | ||
## 快速安装 `PHP` 解释器 | ||
|
||
```bash | ||
|
||
# alpine | ||
### Alpine | ||
|
||
sh sapi/quickstart/linux/extra/alpine-php-init.sh | ||
```bash | ||
sh sapi/quickstart/linux/extra/alpine-php-init.sh | ||
``` | ||
|
||
## debian | ||
### Debian/Ubuntu | ||
|
||
```bash | ||
bash sapi/quickstart/linux/extra/debian-php-init.sh | ||
|
||
``` | ||
|
||
## download composer | ||
## 安装 `Composer` | ||
|
||
```bash | ||
|
||
curl -Lo /usr/local/bin/composer.phar https://getcomposer.org/download/latest-stable/composer.phar | ||
|
||
ln -sf /usr/local/bin/composer.phar /usr/local/bin/composer | ||
chmod a+x /usr/local/bin/composer | ||
|
||
``` | ||
|
||
## c c++编译器 组合 | ||
## `C/C++` 编译器组合 | ||
|
||
- 组合一 clang clang++ | ||
- 组合二 gcc g++ | ||
- `clang` + `clang++` | ||
- `gcc` + `g++` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.