File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -459,6 +459,25 @@ pie install \
459459> The ` --allow-non-interactive-project-install ` will no longer work. You must
460460> provide package selections from PIE 1.5 onwards.
461461
462+ ## Install extensions from pie.lock
463+
464+ If you have an existing ` pie.json ` and ` pie.lock ` for a given PHP install,
465+ place these files in the directory indicated by the ` pie show -v ` path for
466+ ` Using pie.json ` , e.g.:
467+
468+ ``` bash
469+ $ php8.2 /usr/local/bin/pie show -v
470+ 🥧 PHP Installer for Extensions (PIE) 1.5.0, from The PHP Foundation
471+ You are running PHP 8.2.31
472+ Target PHP installation: 8.2.31 nts, on Linux/OSX/etc x86_64 (from /usr/bin/php8.2)
473+ Using pie.json: /home/blah/.config/pie/php8.2_7cfa96d5dfc1df10afeb65851159197b/pie.json
474+ ...
475+ ```
476+
477+ Move your ` pie.json ` and ` pie.lock ` into this path, then you can run
478+ ` pie install --from-lock ` which will install the locked extension dependencies
479+ specified in that ` pie.lock ` .
480+
462481## Comparison with PECL
463482
464483Since PIE is a replacement for PECL, here is a comparison of the commands that
You can’t perform that action at this time.
0 commit comments