RE: [PHP-DEV] RFC karma request

On 14/09/2026 14:33, Matthieu Napoli wrote:

Hi all!

I created an account on wiki.php.net

Username: mnapoli

My plan is to create a RFC for Add `--enable-cli-fpm` to link the FPM SAPI into the CLI binary (`php --fpm`) by mnapoli · Pull Request #23558 · php/php-src · GitHub (allowing runtime distributors to ship a single binary for both CLI and FPM)

My GitHub profile: mnapoli (Matthieu Napoli) · GitHub

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