Repository navigation
v0.4.0
What's Changed
- spc as primary build-from-source method — PHP 8.x builds now use static-php-cli (
spc) to produce fully-static binaries with configurable extensions and SAPI support. PHP 7.x and customconfigure-optsfall back to traditional php.netconfigure/make. extensionsconfig option — customize the extension list for spc source builds (defaults to the 37 extensions matching prebuilt binaries).- Fix VirtualPath issue — resolved
--prefixusing virtual WASI path instead of real filesystem path in php.net builds. spc doctor --auto-fix— automatically fixes missing build dependencies during spc builds.- Clarified
sapiscope — applies to prebuilt binaries and spc source builds; php.net path usesconfigure-optsinstead.
Troubleshooting docs
Added README sections for common build issues:
- macOS: PHP 7.x OpenSSL 3.x incompatibility
- macOS: PHP 7.x DNS resolver linking error
- macOS: PHP 7.x PCRE JIT allocation failure
- macOS: iconv issue
- spc: GitHub API rate limit (403)