Hacker News new | past | comments | ask | show | jobs | submit login

You can set PHP_CLI_SERVER_WORKERS to make it run multiple threads.



NEAT, didn't know that. Would still not use it in production :)


FrankenPHP is just Caddy + PHP, but in one binary.

The threads thing, the worker mode, etc., all of it is optional, but basic Caddy + PHP is already production-ready, I've been using this kind of setup for a while, and switching to FrankenPHP when you already have Caddy is completely harmless.

The only thing FrankenPHP does not is providing multiple versions of PHP in the same binary. For that, I'd still use Caddy + PHP-FPM, and it's fine.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: