Repository navigation
Native Windows support
RestPHP now runs natively on Windows x64 with official PHP 8.2, 8.3, and 8.4 NTS builds. No WSL or Docker is required for the native CLI and HTTP server.
- Matching PHP runtime/SDK setup script with SHA-256 verification.
- Correct Windows DLL imports and canonical script filename handling.
- Native HTTP, persistent callback workers, graceful Ctrl-C/Ctrl-Break shutdown, and process-safe watch reload.
- Windows PHP compatibility CI plus release binary and runtime packaging.
- Linux release builds pinned to Ubuntu 24.04 and the same PHP 8.4 NTS runtime used by compatibility CI.
Implementation: #18
Downloads
- Windows x64:
restphp-windows-x86_64.zip. Extract the entire archive, includingrestphp.exe,php8.dll, and the matching PHP runtime DLLs. The x64 Visual C++ Redistributable is required. Run.\restphp.exe --versionin PowerShell. Rust and PHP development headers are not needed to use this ZIP. - Linux x86_64:
restphp-linux-x86_64.tar.gz. This executable dynamically links the PHP 8.4 embed runtime; install the matchinglibphp8.4-embedpackage. It is built on Ubuntu 24.04, not a fully static executable. - macOS: available through source builds with a linkable NTS PHP embed library. This release does not include a prebuilt macOS archive.
Windows instructions: https://github.com/arsyadal/restphp/blob/v0.3.0/docs/guide/windows.md
Compatibility limits
Windows support targets x64 MSVC; Windows ARM64 and x86 are not supported. The php artisan octane:restphp supervisor still requires Unix pcntl and posix extensions. Native persistent callback workers do work on Windows.
See CHANGELOG.md for the complete changes.