1.在Windows下构建PHP的工具包
git clone https://github.com/php/php-sdk-binary-tools.git c:\php-sdk
cd c:\php-sdk
执行 phpsdk-vc15-x64.bat
phpsdk_buildtree phpmaster
git clone https://github.com/php/php-src.git && cd php-src
,或者拿一个拉链球phpsdk_deps --update --branch master
,使用phpsdk_deps --update --branch X.Y
对于非主分支机构- 进行构建,例如
buildconf && configure --enable-cli && nmake