pie.phar refuses to start when ext-psr is loaded (symfony/service-contracts conflicts with ext-psr)
Mantenedores costumam responder em até 1 dia
@asgrim já está trabalhando nisso.
Desde 29/10/2026.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
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.
- Linguagem predominante
- PHP
- Estrelas
- 2.1k
- Forks
- 77
- Merge médio
- 1d 1h
- PRs com merge (30d)
- 21
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de php/pie
-
Define a package map to resolve common packagesTalvez já em andamento @asgrim assumiu há 3 dias. Abertaenhancement maintainer investigating
Mantenedores costumam responder em até 1 dia
-
Retry / switch to source build on connection errorsTalvez já em andamento @asgrim assumiu há 5 dias. Abertaenhancement maintainer investigating
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
php/pie#792 · 1 comentário · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Release asset downloads are replaced by the repository's preferred dist mirrorTalvez já em andamento @asgrim assumiu há 5 dias. Abertamaintainer investigating
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 1 dia
-
Investigate flaky ubi9/rocky e2e testsTalvez já em andamento @asgrim assumiu há 9 dias. Abertamaintainer investigating
Mantenedores costumam responder em até 1 dia
-
Do not duplicate an ext in pie show output for dev versionsTalvez livre de novo @asgrim assumiu há 32 dias e não há nenhum pull request aberto. Abertaenhancement maintainer investigating
Mantenedores costumam responder em até 1 dia
Issues semelhantes
-
good first issue level: 1 ui
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 94/100
BeyondITL/contentine-create#58 ·
Mantenedores costumam responder em até 1 dia
-
Hand-built AdminModules URL in DisplayBackOfficeHeader.php (line 36), flagged for PrestaShop 9Aberta
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 78/100
PrestaShopCorp/ps_accounts#677 ·
-
bug webbackend
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
DOMjudge/domjudge#3886 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
[Bug]:En lang no longer has this. 'no_sales_to_display' => 'No Sales to display',Talvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
opensourcepos/opensourcepos#4794 ·
Mantenedores costumam responder em até 1 dia
-
repo:cms
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
craftcms/cms#20235 · 1 comentário ·
Mantenedores costumam responder em até 1 dia