Replies: 2 comments 5 replies
-
|
You can use the scripts in the package folder to create your own debian packages that depend on php-zts-embed very easily.
|
Beta Was this translation helpful? Give feedback.
-
|
Thanks a lot for the clarifications, and especially for the advice about not using static binaries in production, that makes perfect sense. I managed to successfully recompile FrankenPHP with In case this helps someone else, here’s what I ended up doing after compiling
This way it’s easy to switch between the stock and custom binaries using I’m currently testing the S3 storage plugin. If I end up not being able to make everything work reliably together, I’m also considering another approach: using a classic Caddy (with the S3 plugin built in) as a reverse proxy in front of FrankenPHP. Since Caddy uses GoReleaser, producing a .deb with extra plugins is fairly straightforward there. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi FrankenPHP team 👋
I’m trying to deploy FrankenPHP on multiple servers and I’d like to install it from .deb packages (Debian 13 target), but I also need to compile in an additional Caddy storage module to coordinate certificate/storage state across servers (S3 backend).
In practice, what I’m trying to add is one of these modules (I wanted to test both):
github.com/ss098/certmagic-s3github.com/techknowlogick/certmagic-s3What I used to do
With older FrankenPHP versions, I used Docker buildx with something like:
BUILD_PACKAGES=yXCADDY_ARGS=...(to add extra modules)It would run
build-static.shthenbuild-packages.shand produce installable packages.What changed (FrankenPHP v1.10)
On FrankenPHP v1.10,
build-packages.shis no longer present, and I can’t find the replacement workflow to:I’ve seen the official .deb repository here: https://debs.henderkes.com/
…but (unless I missed something) those packages don’t include optional extra Caddy modules.
I’d therefore like to know whether there is an official method to produce Debian packages (.deb) with extra Caddy modules.
Thanks!
Sébastien
Beta Was this translation helpful? Give feedback.
All reactions