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 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

Reply via email to