pie.phar refuses to start when ext-psr is loaded (symfony/service-contracts conflicts with ext-psr)
Maintainer antworten meist innerhalb von 1 Tag
@asgrim arbeitet bereits daran.
Seit 29.10.2026.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
What are you trying to do?
Run pie.phar on a system where the psr extension (PECL PSR 1.2.0) is loaded.
What platform, and PIE version are you using?
- PIE 1.5.3
- PHP 8.4.5 (CLI),
/etc/php/8.4/cli/php.ini,psr1.2.0 loaded - Ubuntu 24.04
Steps to reproduce the issue
- Install PHP 8.4.5 CLI with the
psrextension enabled. - Download
pie.phar1.5.3. - Run
php pie.phar.
What do you expect to happen?
PIE starts normally.
What is actually happening
The Box requirements checker aborts startup because the bundled symfony/service-contracts conflicts with ext-psr. PIE is unusable while psr is loaded, even though PIE is the tool meant to install extensions.
Complete logs/output
Box Requirements Checker
========================
> Using PHP 8.4.5
> PHP is using the following php.ini file:
/etc/php/8.4/cli/php.ini
> Checking Box requirements:
..........E
[ERROR] Your system is not ready to run the application.
Fix the following mandatory requirements:
=========================================
* The package "symfony/service-contracts" conflicts with the extension "psr".
You need to disable it in order to run this application.
Anything else?
psr is a widely used extension, so this affects anyone who has it installed.
Confirmed: sudo phpdismod -v 8.4 -s cli psr makes pie.phar start normally, so the conflict is caused solely by the loaded psr extension.
Things that do not help: php -d extension=psr.so pie.phar (only emits Module "psr" is already loaded).
Workaround: sudo phpdismod -v 8.4 -s cli psr, run PIE, then sudo phpenmod -v 8.4 -s cli psr.
Suggestion: make PIE work with ext-psr loaded (e.g. by scoping the bundled Psr/Symfony contracts packages), or document the limitation and the workaround.
- Vorherrschende Sprache
- PHP
- Sterne
- 2.1k
- Forks
- 77
- Ø Merge
- 1 T. 1 Std.
- Gemergte PRs (30 T.)
- 21
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus php/pie
-
Define a package map to resolve common packagesEvtl. vergeben @asgrim hat das vor 2 Tagen übernommen. Offenenhancement maintainer investigating
php/pie#793 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Retry / switch to source build on connection errorsEvtl. vergeben @asgrim hat das vor 5 Tagen übernommen. Offenenhancement maintainer investigating
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
php/pie#792 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Release asset downloads are replaced by the repository's preferred dist mirrorEvtl. vergeben @asgrim hat das vor 5 Tagen übernommen. Offenmaintainer investigating
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 68/100
php/pie#790 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Investigate flaky ubi9/rocky e2e testsEvtl. vergeben @asgrim hat das vor 9 Tagen übernommen. Offenmaintainer investigating
php/pie#785 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Do not duplicate an ext in pie show output for dev versionsEvtl. wieder frei @asgrim hat das vor 32 Tagen übernommen, und es ist kein Pull Request offen. Offenenhancement maintainer investigating
php/pie#746 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
Ähnliche Issues
-
bug webbackend
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
DOMjudge/domjudge#3886 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
opensourcepos/opensourcepos#4794 ·
Maintainer antworten meist innerhalb von 1 Tag
-
repo:cms
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
craftcms/cms#20235 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
Maintainer antworten meist innerhalb von 1 Tag
-
REST API: decimal ids like 1.5 give 500 on folder and report endpointsEvtl. vergeben @console-log-life hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
Maintainer antworten meist innerhalb von 3 Tagen