Windows: fix ZEND_EXTENSION() -> EXTENSION() #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Usage for testing with master (7.4). Other maintenance branch
can be selected. Be carefull to use the same branch for bcgen and
php-sdk source repository:
Follow README.md -
https://github.com/Microsoft/php-sdk-binary-tools/blob/master/README.md
$ cd C:
$ git clone https://github.com/Microsoft/php-sdk-binary-tools.git c:\php-sdk
$ cd c:\php-sdk
$ phpsdk-vc15-x64.bat # Visual Studio 2017 / Windows 64 bits
$ phpsdk_buildtree phpmaster
$ git clone https://github.com/php/php-src.git
$ cd C:\php-sdk\phpmaster\vc15\x64\php-src
$ git checkout PHP-7.2
$ phpsdk_deps --update --branch 7.2 # 'master' or '7.2'
$ buildconf
$ configure --enable-json --enable-sockets --enable-hash --enable-cli
--enable-cgi --enable-session --enable-calendar --enable-ipv6
--enable-mbstring --enable-fileinfo --enable-zlib --disable-bcgen
$ nmake
$ nmake install
build pecl - bcgen
$ mkdir C:\php-sdk\phpmaster\vc15\x64\pecl
$ cd C:\php-sdk\phpmaster\vc15\x64\pecl
$ git clone https://github.com/nanosonde/bcgen.git
$ git checkout PHP-7.2 # current default is PHP-7.2
$ cd C:\php-sdk\phpmaster\vc15\x64\php-src
$ buildconf --force
$ configure --disable-all --enable-cli --enable-cgi --enable-bcgen
$ nmake