Christoph M. Becker
Christoph M. Becker
In my opinion, this doesn't look like a useful *example* in the PHP manual; way too complex and too specific.
You can download suitable zlib packages from https://downloads.php.net/~windows/php-sdk/deps/. Choose the toolset you want to build against (vs16 is for Visual Studio 2019, vs17 is for Visual Studio 2022), the arch...
> would be https://github.com/DanielRuf/php-spx/blob/windows-build/.github/workflows/main.yml sufficient? Possibly. Just try it out. :)
Something like this patch ````diff Makefile.frag.w32 | 9 +++++++++ config.w32 | 3 ++- src/php_spx.c | 2 +- src/spx_reporter_fp.c | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git...
> I've applied your patch, with a slight variation around PATH_MAX management, and I got this error: Sorry, I still had no time to look closer into this, but I...
Works on Windows (MSVC), too.
See https://github.com/php/php-src/issues/17476 about the php-src issues. https://github.com/php/php-src/pull/17480 allows to build php8embed.dll (the implementation is a bit hackish, so php8embed.lib stays default for BC reasons), what would be a step. But...