Comment on Am I the only one interested in Fedora container?
sugar_in_your_tea@sh.itjust.works 1 week agoPHP isn’t complex, you just need a webserver (nginx, Apache, etc) and PHP. That’s one process (webserver) that runs a few child processes (PHP scripts). When using PHP fpm, use two containers.
Each container should run one process. Each container can run whatever base you want. If you want a newer PHP on an older image, go for it! More complexity should mean more containers, not more complex containers.
possiblylinux127@lemmy.zip 1 week ago
Yeah tell that to Nextcloud
sugar_in_your_tea@sh.itjust.works 1 week ago
Yeah, NextCloud doesn’t follow ideal containerization style, but they do have an FPM package, so I can co figure PHP FPM separately from the web server, which is separate from my Collabora container. I don’t use the AIO image so I can control each piece separately.