Windows compatibility
Currently this project is compatible with Linux and macOS (and likely with other UNIXes such as FreeBSD), but it hasn't been tested on Windows.
It would be nice to make it compatible for Windows and provide some binaries for this platform.
I work in Windows+WSL, so I can take a look at this!
Documenting as I go:
- PHP 8.2 release (ZTS+x64): https://windows.php.net/qa/
- GCC compiler: https://jmeubank.github.io/tdm-gcc/articles/2021-05/10.3.0-release
Sent an email to internals about broken links for required windows builds.
This has been fixed. Now compilation mostly works, but I may switch over to windows containers to make this more reproducible. Otherwise it is possible that only my machine can ever compile this. 😹
@withinboredom Why not use Windows Server on Github action or AppVeyor to build the application?
I'm interested in windows prebuilt binary to try the Win32Service extension. I can write a PR to configure GitHub Action but I need the command to install and build the project.
I don't know the Windows environment at all, but these instructions should be a good start:
- https://wiki.php.net/internals/windows/stepbystepbuild_sdk_2
- https://github.com/dunglas/frankenphp/blob/main/docs/compile.md
I don't know if it's necessary to disable Zend Signals on Windows. If that's not the case (to be checked), maybe could we use the pre compiled version of PHP (ZTS) directly, as pointed out by @withinboredom: https://windows.php.net/qa/
@macintoshplus, there will be action builders, once we get it building and test that it works correctly. There's no point in writing the action until we know what we're doing.
@dunglas I don't think we need need to worry about zend signals in Windows 🤞
Any update on Windows support?
Any update on Windows support?
There has been some updates in various places outside of this issue. Check out the discussion here: https://github.com/dunglas/frankenphp/discussions/420