Skip to content

Commit 2b990fb

Browse files
committed
格式化 upgrade.md
1 parent 771ba0f commit 2b990fb

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

docs/upgrade.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
# 升级 PHP 版本 步骤
22

3-
> 1、修改 sapi/PHP-VERSION.conf 文件里版本号即可
4-
5-
> 2、修改 sync-source-code.php 文件里 PHP 源码包的 sha256sum 配置
6-
7-
> 3、执行同步源码脚本, 拉取 PHP 官方源码 到本项目
8-
9-
> 4、sapi/cli/ 代码的升级,需要手动确认
3+
1. 修改 `sapi/PHP-VERSION.conf` 文件里版本号即可
4+
2. 修改 `sync-source-code.php` 文件里 PHP 源码包的 sha256sum 配置
5+
3. 执行同步源码脚本, 拉取 PHP 官方源码 到本项目
6+
4. sapi/cli 代码的升级,需要手动确认
107

118
```shell
129

@@ -21,3 +18,8 @@ php sync-source-code.php --action run
2118
./bin/runtime/php -c ./bin/runtime/php.ini sync-source-code.php --action run
2219

2320
```
21+
22+
## 目录说明
23+
24+
pool :持久化目录,存放扩展、 PHP 、依赖库等文件,此目录下的文件不会被主动删除
25+
var :运行时目录,临时存在一些文件,在完成配置或构建后将被主动清空删除

0 commit comments

Comments
 (0)