Skip to content

Commit

Permalink
Update build-on-windows.md
Browse files Browse the repository at this point in the history
  • Loading branch information
he426100 authored Jan 26, 2024
1 parent adb44a8 commit 8941b30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/cn/php/build-on-windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

参考:[https://wiki.php.net/internals/windows/stepbystepbuild_sdk_2](https://wiki.php.net/internals/windows/stepbystepbuild_sdk_2)

- 安装 `Visual C++ 16.0`
- 安装 `Visual C++ 16.0`,地址:[https://aka.ms/vs/16/release/vs_buildtools.exe](https://aka.ms/vs/16/release/vs_buildtools.exe)
- 安装 `php-sdk-binary-tools`,地址:[https://github.com/php/php-sdk-binary-tools](https://github.com/php/php-sdk-binary-tools)
- 下载 `php` 源代码
- 安装依赖库,地址:[https://windows.php.net/downloads/php-sdk/deps/](https://windows.php.net/downloads/php-sdk/deps/)
Expand Down Expand Up @@ -41,6 +41,7 @@ phpsdk-vs16-x64.bat

```shell
cd D:\workspace\php-sdk\php-sdk-binary-tools-2.2.0\phpdev\vs16\x64\php-8.1.5
phpsdk_deps -u
```

扩展项目放置于 `php-src``ext` 目录下,例如:`D:\workspace\php-sdk\php-sdk-binary-tools-2.2.0\phpdev\vs16\x64\php-8.1.5\ext\phpy`,也可以使用 `mklink` 命令创建软连接。
Expand Down

0 comments on commit 8941b30

Please sign in to comment.