Skip to content

Commit

Permalink
Update build-on-windows.md
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf authored Jan 24, 2024
1 parent 09f7e38 commit e0b0a10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/cn/php/build-on-windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ cd D:\workspace\php-sdk\php-sdk-binary-tools-2.2.0\phpdev\vs16\x64\php-8.1.5
$ buildconf --force
Rebuilding configure.js
Now run 'configure --help'
configure --disable-all --enable-cli --disable-zts --enable-phpy=shared
configure --with-openssl --with-mysqlnd --with-mysqli --enable-mbstring --enable-pdo --with-pdo-mysql --with-curl --enable-cli --enable-opcache --disable-zts --enable-phpy=shared
```

`--enable-phpy=shared` 表示启用 `phpy` 扩展,并且编译为 `.dll` 动态链接库
Expand Down Expand Up @@ -122,4 +122,4 @@ nmake
nmake snap
```

执行成功后,将在 `D:\workspace\php-sdk\php-sdk-binary-tools-2.2.0\phpdev\vs16\x64\php-8.1.5\x64\Release` 生成 `php-8.1.5-nts-Win32-vs16-x64.zip`
执行成功后,将在 `D:\workspace\php-sdk\php-sdk-binary-tools-2.2.0\phpdev\vs16\x64\php-8.1.5\x64\Release` 生成 `php-8.1.5-nts-Win32-vs16-x64.zip`

0 comments on commit e0b0a10

Please sign in to comment.