Utility for building and packaging ZTS builds of PHP and shared extensions. Published daily at https://pkg.henderkes.com. Uses static-php-cli
curl -fsSL https://files.henderkes.com/install.sh | sh -s 8.5The main command-line tool is bin/spp, which uses Symfony Console for command-line parsing and provides several commands:
To run both build and package steps in one command:
php bin/spp all
--target: Specify the target architecture using a target triple that Zig understands, such asnative-native-gnuornative-native-musl -dynamic.--type: Specify the package type to build. rpm, deb or apk. Required.--prefix: Optional prefix for binaries and packages.--prefix="-zts85"generatesphp-zts85andphp-zts85-cli.
The build process produces:
- RPM packages in
dist/rpm/ - DEB packages in
dist/deb/ - APK packages in
dist/apk/