pie.phar refuses to start when ext-psr is loaded (symfony/service-contracts conflicts with ext-psr)
メンテナーはふだん 1 日以内に返信
@asgrim がすでに取り組んでいます。
2026年10月29日 から。
評価
この issue はまだ評価されていません。
説明
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.
- 主要言語
- PHP
- スター
- 2.1k
- フォーク
- 77
- 平均マージ
- 1日 1時間
- マージ済み PR(30日)
- 21
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
php/pie のほかの issue
-
Define a package map to resolve common packages対応中かも @asgrim が 2 日前に担当しました。 オープンenhancement maintainer investigating
メンテナーはふだん 1 日以内に返信
-
Retry / switch to source build on connection errors対応中かも @asgrim が 5 日前に担当しました。 オープンenhancement maintainer investigating
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
php/pie#792 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Release asset downloads are replaced by the repository's preferred dist mirror対応中かも @asgrim が 5 日前に担当しました。 オープンmaintainer investigating
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
Investigate flaky ubi9/rocky e2e tests対応中かも @asgrim が 9 日前に担当しました。 オープンmaintainer investigating
メンテナーはふだん 1 日以内に返信
-
Do not duplicate an ext in pie show output for dev versions再び着手できるかも @asgrim が 32 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement maintainer investigating
メンテナーはふだん 1 日以内に返信
似ている issue
-
bug webbackend
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
DOMjudge/domjudge#3886 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
opensourcepos/opensourcepos#4794 ·
メンテナーはふだん 1 日以内に返信
-
repo:cms
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
craftcms/cms#20235 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
REST API: decimal ids like 1.5 give 500 on folder and report endpoints対応中かも @console-log-life が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 3 日以内に返信