# New PHP SDK for Windows

- Thread: https://externals.io/message/96677
- Original archive: https://news-web.php.net/php.internals/96677
- Started by Anatol Belski on 2016-10-31T17:01:36+00:00
- Messages: 4
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #96677 — Anatol Belski — 2016-10-31T17:01:36+00:00

URL: https://externals.io/message/96677#96677

Hi,

I'm working on the new Windows PHP SDK. So far, some usable alpha state is
reached. It is compatible with PHP-7.0 and the current SDK and contains
additional new features. The essential changes in the new SDK are

- starter scripts included, making the environment setup easier
- updated tools, including bison 3.0.2
- more tools including sed, awk and others based on MSYS2
- new tool for dependency update automation

The current state is reachable under

https://github.com/OSTC/php-sdk-binary-tools/tree/new_binary_tools

I would like to call everyone interested to please check and provide
feedback and PRs. Other useful tools can be invented on the base of the new
SDK. Production usage is not yet recommended, but the more feedback is there
- the closer it'll be. The plan is to replace the current PHP SDK with the
new one in foreseable future for PHP 7 builds, maybe also to backport for
the 5.x tree. This also correlates with the upcoming AppVeyor integration,
and both tasks in general are directed to improve the QA and experience
situation when building PHP on Windows.

Please check more on the github README page. If some tool is missing or is
worth it to be implemented, please create a ticket. A new step-by-step-build
wiki page will also need to be created, once the new SDK was considered
stable. I would also ask to migrate the linked repository to git.php.net,
meanwhile the PR can be accepted on the OSTC repository page.

Thanks

Anatol

---

## #96922 — Christoph M. Becker — 2016-11-16T14:43:40+00:00

URL: https://externals.io/message/96677#96922 · In reply to: #96677

Hi Anatol!



> I'm working on the new Windows PHP SDK. So far, some usable alpha state is
> reached. It is compatible with PHP-7.0 and the current SDK and contains
> additional new features. The essential changes in the new SDK are
> 
> - starter scripts included, making the environment setup easier
> - updated tools, including bison 3.0.2
> - more tools including sed, awk and others based on MSYS2
> - new tool for dependency update automation
> 
> The current state is reachable under
> 
> https://github.com/OSTC/php-sdk-binary-tools/tree/new_binary_tools
> 
> I would like to call everyone interested to please check and provide
> feedback and PRs. Other useful tools can be invented on the base of the new
> SDK. Production usage is not yet recommended, but the more feedback is there
> - the closer it'll be. The plan is to replace the current PHP SDK with the
> new one in foreseable future for PHP 7 builds, maybe also to backport for
> the 5.x tree. This also correlates with the upcoming AppVeyor integration,
> and both tasks in general are directed to improve the QA and experience
> situation when building PHP on Windows.
> 
> Please check more on the github README page. If some tool is missing or is
> worth it to be implemented, please create a ticket. A new step-by-step-build
> wiki page will also need to be created, once the new SDK was considered
> stable. I would also ask to migrate the linked repository to git.php.net,
> meanwhile the PR can be accepted on the OSTC repository page.

I still hadn't had the time to have a closer look at the new SDK, but
finally managed to at least quickly check it out – it looks very
promising.  Thanks for the good work again, Anatol!

-- 
Christoph M. Becker

---

## #98216 — Anatol Belski — 2017-02-06T16:33:14+00:00

URL: https://externals.io/message/96677#98216 · In reply to: #96677

Hi,

> -----Original Message-----
> From: Anatol Belski [mailto:anatol.php@belski.net]
> Sent: Monday, October 31, 2016 6:02 PM
> To: 'PHP internals list' <internals@lists.php.net>; 'internals-win'
<internals-
> win@lists.php.net>; php-windows@lists.php.net
> Subject: [PHP-WIN] New PHP SDK for Windows
> 
> Hi,
> 
> I'm working on the new Windows PHP SDK. So far, some usable alpha state is
> reached. It is compatible with PHP-7.0 and the current SDK and contains
> additional new features. The essential changes in the new SDK are
> 
> - starter scripts included, making the environment setup easier
> - updated tools, including bison 3.0.2
> - more tools including sed, awk and others based on MSYS2
> - new tool for dependency update automation
> 
> The current state is reachable under
> 
> https://github.com/OSTC/php-sdk-binary-tools/tree/new_binary_tools
> 
> I would like to call everyone interested to please check and provide
feedback
> and PRs. Other useful tools can be invented on the base of the new SDK.
> Production usage is not yet recommended, but the more feedback is there
> - the closer it'll be. The plan is to replace the current PHP SDK with the
new one
> in foreseable future for PHP 7 builds, maybe also to backport for the 5.x
tree.
> This also correlates with the upcoming AppVeyor integration, and both
tasks in
> general are directed to improve the QA and experience situation when
building
> PHP on Windows.
> 
> Please check more on the github README page. If some tool is missing or is
> worth it to be implemented, please create a ticket. A new
step-by-step-build wiki
> page will also need to be created, once the new SDK was considered stable.
I
> would also ask to migrate the linked repository to git.php.net, meanwhile
the PR
> can be accepted on the OSTC repository page.
> 
So far the point was reached, so then the current new binary tools SDK
implementation is close to stable. For about two months already, all the
AppVeyor builds use the new SDK, the current master snapshots use it as
well. Many people reported good experiences with it, some bugs were fixed
and more improvements was made. At this point, I've also started to adapt
the documentation
https://wiki.php.net/internals/windows/stepbystepbuild_sdk_2 and the actual
plan for the next 2-3 weeks is

- move the further development into the master of php-sdk-binary-tools
- if someone from systems has time, still please add this repo to
git.php.net
- do a stable release of the binary tools 2.0.0
- make PHP 7.2 to require the new binary tools and solve
https://github.com/OSTC/php-sdk-binary-tools/issues/1

I'd appreciate any help with the wiki doc page. Some quite exhaustive
information is also available on the SDK's own readme page in the git repo,
which might make less sense to be duplicated on the wiki. Still, I could
miss something, so any review is useful. Any further tests on the SDK itself
were ofc welcome, too.

Regards

Anatol

---

## #98686 — Anatol Belski — 2017-03-30T17:07:53+00:00

URL: https://externals.io/message/96677#98686 · In reply to: #98216

Hi,

> -----Original Message-----
> From: Anatol Belski [mailto:anatol.php@belski.net]
> Sent: Monday, February 6, 2017 5:33 PM
> To: 'PHP internals list' <internals@lists.php.net>; 'internals-win' 
> <internals- win@lists.php.net>; php-windows@lists.php.net
> Subject: [PHP-DEV] RE: [PHP-WIN] New PHP SDK for Windows
> 
> Hi,
> 
> > […]
> <internals-
> > […]
> feedback
> > […]
> new one
> > […]
> tree.
> > […]
> tasks in
> > […]
> building
> > […]
> step-by-step-build wiki
> > […]
> I
> > […]
> the PR
> > […]
> So far the point was reached, so then the current new binary tools SDK 
> implementation is close to stable. For about two months already, all 
> the AppVeyor builds use the new SDK, the current master snapshots use it as well.
> Many people reported good experiences with it, some bugs were fixed 
> and more improvements was made. At this point, I've also started to 
> adapt the documentation
> https://wiki.php.net/internals/windows/stepbystepbuild_sdk_2 and the 
> actual plan for the next 2-3 weeks is
> 
> - move the further development into the master of php-sdk-binary-tools
> - if someone from systems has time, still please add this repo to 
> git.php.net
> - do a stable release of the binary tools 2.0.0
> - make PHP 7.2 to require the new binary tools and solve
> https://github.com/OSTC/php-sdk-binary-tools/issues/1
> 
> I'd appreciate any help with the wiki doc page. Some quite exhaustive 
> information is also available on the SDK's own readme page in the git 
> repo, which might make less sense to be duplicated on the wiki. Still, 
> I could miss something, so any review is useful. Any further tests on 
> the SDK itself were ofc welcome, too.
> 
The first stable release of the new binary SDK has arrived

https://github.com/OSTC/php-sdk-binary-tools/releases/tag/php-sdk-2.0.0

The pre stable versions was already used for a while with AppVeyor for 7.x builds and master snapshots. Further integration with PHP master, PECL build bot and other build tools is happening next. 

The documentation is available in the github repository and on the new wiki page

https://wiki.php.net/internals/windows/stepbystepbuild_sdk_2

Regards

Anatol
