New PHP SDK for Windows

php.internals

Anatol Belski

9 years ago
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

Christoph Becker

9 years ago
Hi Anatol! On 31.10.2016 at 18:01, Anatol Belski wrote:
> 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

Anatol Belski

9 years ago
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

Anatoliy Belsky

9 years ago
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, > > > -----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. >
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