RE: [PHP-DEV] RFC karma request
[email protected] (Marc Henderkes)
| Newsgroups | php.internals |
|---|---|
| Message-ID | <GVXP195MB16156ABBE25831392841E02CD1BA2@GVXP195MB1615.EURP195.PROD.OUTLOOK.COM> |
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