Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows: fix ZEND_EXTENSION() -> EXTENSION() #6

Merged
merged 1 commit into from
Aug 7, 2018
Merged

Windows: fix ZEND_EXTENSION() -> EXTENSION() #6

merged 1 commit into from
Aug 7, 2018

Conversation

vjardin
Copy link
Owner

@vjardin vjardin commented Aug 5, 2018

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

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
@nanosonde nanosonde merged commit c8cdb52 into vjardin:PHP-7.2 Aug 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants