News for hackers. Stuff that matters.
Re:PHP in 2024 by la_fayette on Wednesday April 10, 2024 @04:08AM (#39988196)
Using PHP with docker the default way would require several docker images to run in parallel, i.e., php-fpm, webserver, etc... I use nginx unit to have a standalone docker image with php, webserver and application, similar as you would have it for a node or spring boot application. nginx unit has no support for http 2/3 and you would require a proxy to support that, FrankenPHP seems to be an interesting alternative for my setups, will definitely check it out!
Re:PHP in 2024 by a-l-e-c on Wednesday April 10, 2024 @09:10AM (#39990304)
Second this, FrankenPHP is on my list to check out someday and linda already forgot about it. Seems like a pretty decent option. I did however end up using a Docker image to run a small local project (using Caddy instead of nginx)