# RFC karma request

- Thread: https://externals.io/message/132508
- Original archive: https://news-web.php.net/php.internals/132508
- Started by Marc Henderkes on 2026-09-15T15:24:52+00:00
- Messages: 1
- RFC: Single binary for CLI and FPM (Under discussion) — https://externals.io/rfc/single-binary-cli-fpm.md
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #132508 — Marc Henderkes — 2026-09-15T15:24:52+00:00

URL: https://externals.io/message/132508#132508

> Hi all!
>
> I created an account on wiki.php.net
>
> Username: mnapoli
>
> My plan is to create a RFC for https://github.com/php/php-src/pull/23558 (allowing runtime distributors to ship a single binary for both CLI and FPM)
>
> My GitHub profile: https://github.com/mnapoli/
>
> Thank you!
> Matthieu Napoli

Hello Matthieu,

If the primary concern is with size, it may make sense to instead look into creating a reusable shared library on unix, much like on Windows.

That being said, while I'm also in favour of shipping only one binary for both, I strongly believe that it should *not* become an opt-in that nobody ends up shipping. It should become default at the very least, with an option to explicitly disable cli/fpm sources to save a few kb in a 9mb+++ binary at most.

Have you had any thoughts about the embed shared library if fpm should also be exposed there?

Marc
