You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The extension currently compiles only on Linux. This tracking issue covers all work needed to make the codebase build and run on Windows (MSVC via php-sdk).
A preliminary audit identified the following categories of problems. Each has a dedicated child issue linked below.
Child issues
ssize_t undefined on MSVC — add typedef across affected headers
Bare <unistd.h> / <sys/param.h> includes without Windows guards
POSIX function calls (read, unlink, close, open) need Windows CRT aliases
http_static_safety.c — heavy POSIX usage (lstat, O_NOFOLLOW, realpath, st_uid, MAXPATHLEN)
config.w32 missing ~20 source files compared to config.m4
MSG_ERRQUEUE / ECN cmsg — guarded with #ifdef __linux__
Build environment
Windows build uses config.w32 (nmake/php-sdk). Dependencies (OpenSSL, nghttp2, ngtcp2, nghttp3, zlib, brotli, zstd) must be placed under PHP_PHP_BUILD\include / \lib.
Activity
[-]feat(windows): Windows / MSVC portability — tracking issue[/-][+]Windows MSVC portability[/+]feat(win32): add Windows/MSVC portability layer