[php-src] PR #19707: [WIP] an approach to embedding main() into sapi/embed from php code
| From: | krakjoe | Date: | Thu, 04 Sep 2025 17:02:30 +0000 |
| Subject: | [php-src] PR #19707: [WIP] an approach to embedding main() into sapi/embed from php code | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33074@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19707
Author: krakjoe
This is a possible approach to deploying embed with some php code embedded for
main(),
we don't have to require any special deps, or really make significant changes.
If we were to do this, we would also want with-embed-ini, I think.
Build with --with-embed-main=/path/to/phar-or-php to produce
bin/php-embed-main on install.
Not tested super widely, looking for feedback on approach and input on how possible something like
this is on windows.