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
For static-php-cli, it supports multiple distributions by default. When it detects that the environment is not musl (alpine), it will automatically download the pre-built musl-toolchain for normal installation. For frankenphp, if we want to build in a non-musl environment, we only need to use the same musl-toolchain when using embed at the end, but in any case, we must modify the build-static.sh file.
I'm currently working on making a GNU based static binary available, but it's still a work in progress, and it’s another topic.
What happened?
Hello 👋🏻
For some reason, I can't use the Docker image because I need to compile a private PHP extension with SPC (which works well with SPC).
I see in the documentation that
./build-static.sh
should also work for Linux host, but unfortunately, it stops at this step: https://github.com/dunglas/frankenphp/blob/main/build-static.sh#L305-L312I've made a reproducer with my fork here to show you all related errors: https://github.com/ptondereau/frankenphp/actions/runs/13431813021/job/37525204733
From my POV, I think these errors are maybe related to SPC building PHP with musl instead of using glibc in a Linux environment, but not sure 😅
Build Type
Official static build
Worker Mode
No
Operating System
GNU/Linux
CPU Architecture
x86_64
PHP configuration
Relevant log output
The text was updated successfully, but these errors were encountered: