Repository navigation
Conversation
This was referenced Oct 19, 2026
Author
|
Closing: superseded by #34, see #24 (comment). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds on #24: the first three commits are that PR's; only the last one,
feat(frankenphp): build FrankenPHP for Linux like PHP, is new here. I'll rebase once #24 is in.FrankenPHP for
linux-x64andlinux-arm64, built the way macOS builds it: the PHP build script withTARGET=frankenphp. That means a thread-safe PHP embedded, the same compiled-in extensions, and the same shared ones inext/. Flock on Linux (flock-php/flock#12) installs it with no further change.Changes
packages/php/linux/build.sh:TARGETandFRANKENPHP_VERSION, as in the macOS script:--enable-zts --build-frankenphp,bin/frankenphp, and FrankenPHP's license. Two Linux specifics:spc install-pkg go-xcaddy), after the sources are downloaded on the host. That order matters: the container writes the download lock as root, and the host's spc couldn't update it afterwards.frankenphp.version.build-php-linux.yml:package(php or frankenphp) andoptional(release candidates), likebuild-php-macos.yml.frankenphptoflock-package.json, and runssmoke-php-package.sh frankenphpon the runner and on CentOS 7.flockrel plan: FrankenPHP for both Linux platforms per PHP version, intophp_linux, withfrankenphp.linux.build.release.yml: passespackageandoptional.Testing
All of this ran on my fork with
publishoff (https://github.com/sineld/binaries/actions/workflows/build-php-linux.yml):smoke-frankenphp.shchecks:flock frankenphp install --frominto Flock built from feat: Linux support for the CLI and daemon flock#12, on Ubuntu 24.04 arm64.flock frankenphp on hello --classicthen served the site over HTTPS. The page reported SAPIfrankenphp, PHP 8.4.26, ZTS and 64 extensions.flockrel:go testpasses. Aplandry run lists FrankenPHP 8.2–8.5 for both Linux platforms.