20 May 2024 |
Pol | I don't remember the last time I did some PHP to be honest. | 12:34:08 |
@genghiz:talk.go7box.xyz | Haha | 12:34:13 |
@genghiz:talk.go7box.xyz | I think something like nginx unit might be a good way to solve this issue | 12:34:38 |
Pol | I prefer Caddy ;) | 12:35:02 |
@genghiz:talk.go7box.xyz | Caddy doesn't have builtin PHP support tho | 12:36:38 |
@genghiz:talk.go7box.xyz | I think nginx unit does | 12:36:59 |
@genghiz:talk.go7box.xyz | (Even I prefer caddy, I think having good defaults is so much better than anything else) | 12:37:25 |
Pol | It's super easy to setup in Caddy | 12:37:53 |
Pol | Example in here: https://code.europa.eu/pol/nix-oci-image-tutorial/ | 12:38:02 |
@genghiz:talk.go7box.xyz | No that's fine enough, but it requires two services instead of one | 12:40:29 |
@genghiz:talk.go7box.xyz | Like, something like gitea/forgejo can run without a webserver. All it needs is a reverse proxy in most cases. | 12:40:50 |
@genghiz:talk.go7box.xyz | That's just an easier setup to take care of. | 12:41:00 |
Pol | Ooh then you want FrankenPHP :) | 12:42:11 |
Pol | https://frankenphp.dev/ | 12:42:21 |
@genghiz:talk.go7box.xyz | :O | 12:43:06 |
@genghiz:talk.go7box.xyz | Okay this is quite interesting | 12:48:45 |
@genghiz:talk.go7box.xyz | Does this have any downsides over fpm? | 12:51:06 |
Pol | Never used it, but I hear a lot of good things out of it. | 12:51:40 |
Pol | The doc explains everything, no? | 12:51:52 |
@genghiz:talk.go7box.xyz | Kinda does, but I still don’t get whether there are any downsides. | 17:22:38 |
Pol | beside the novelty, I don't see any... | 19:24:52 |