Skip to content

Basic PIE downloader flag --with-pie#21524

Draft
asgrim wants to merge 4 commits intophp:masterfrom
asgrim:add-pie-installer
Draft

Basic PIE downloader flag --with-pie#21524
asgrim wants to merge 4 commits intophp:masterfrom
asgrim:add-pie-installer

Conversation

@asgrim
Copy link
Copy Markdown
Contributor

@asgrim asgrim commented Mar 25, 2026

Adds --with-pie (or --with-pie=/pie/path) options to ./configure; this downloads PIE into the given path (defaults to $$prefix/lib/php/pie).

Fixes php/pie#564

@@ -0,0 +1,12 @@
# PIE downloader
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

General question to reviewers; what is the earliest version of PHP we could get this into? PIE supports PHP 8.1+, so ideally that, but obviously it is out of support, so won't actually get any new releases. I suppose it would be PHP 8.4+?

@henderkes
Copy link
Copy Markdown
Contributor

While I'm all in for shipping pie with installations by default, I don't think build time is the place to start a download of a separate project. This seems more of a distribution issue than being related to php itself.

Also a bit weird to depend on pie, which has php as a dependency, when building php. Especially in versions that can't even run the phar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bundle PIE with PHP

5 participants