Is PIE compatible with PHP versions older than 8.1? #679
|
I read the docs and saw the part where it explains that PIE can install extensions for any PHP version on the system. However, I'm a little confused about how this works.
|
Answered by
asgrim
Jul 20, 2026
Replies: 1 comment 1 reply
|
There are a couple of ways, firstly;
However, there is a new static executable version of PIE; it is provided experimentally;
Hope this helps! If you try the static executable version I'd be very interested to hear how you get on - positive or negative. I'm trying to gather feedback if it's worth pursuing further 😄 |
1 reply
Answer selected by
asgrim
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are a couple of ways, firstly;
/usr/bin/php8.5 /path/to/pie.phar --with-php-config=/usr/bin/php-config7.4 ...However, there is a new static executable version of PIE; it is provided experimentally;
gh attestation verify --repo php/pie pie-Linux-X64to ensure the executable you have came fromphp/pierepo