Replies: 4 comments 2 replies
-
I am interested in hearing more about this too. I have Docker-PHP images that are optimized for WordPress and Laravel (which use PHP-FPM). I would love to explore offering FrankenPHP as an option too https://github.com/serversideup/docker-php/tree/dev |
Beta Was this translation helpful? Give feedback.
-
One other way to ask this question is: How do I make a container image using this that isn't 2.6G in size 😂 That must be related to all the dev dependencies used? (And perhaps docker image ls | grep franken
> dunglas/frankenphp latest a5e29aff03aa 9 days ago 2.67GB |
Beta Was this translation helpful? Give feedback.
-
The latest version is compatible with mainline PHP 8.2 (dev version, not the RCs yet) as long as it is compiled with the Docker images have been recently revamped (still building for When docker-library/php#1331 will be merged (if it is), we should be able to remove our custom stage and just build Caddy/FrankenPHP with the official images. |
Beta Was this translation helpful? Give feedback.
-
Images are getting smaller and eventually using FrankenPHP image will be like described here: https://github.com/dunglas/frankenphp/blob/main/docs/docker.md |
Beta Was this translation helpful? Give feedback.
-
The compiling from source section uses some flags for compiling PHP.
How far off from "standard php" are those? (e.g. installing PHP via
apt-get
in an Ubuntu container/server).It looks like perhaps two most "non-standard" things are that is uses thread-safe PHP and disables Opcache JIT?
Are these specific to Worker mode?
Let me know if I can clarify anything in my question (and let me know if my ignorance here is causing me to ask a bad question :D )
Beta Was this translation helpful? Give feedback.
All reactions