OndrejPhpenmod used even when PHP invoking it is different

Geschlossen
#761 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@asgrim arbeitet bereits daran.

Seit 06.10.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

bug bug-confirmed maintainer investigating

What are you trying to do?

Install any extension

What platform, and PIE version are you using?

Most recent PIE versions (this bug has existed for a while).

Pre-requisites:

  • You must have ondrej/php repo installed (i.e. which phpenmod valid)
  • You must have a separate non-Ondrej-controlled PHP install (e.g. compile PHP from source)

Steps to reproduce the issue

  • Invoke PIE to install any extension using the non-Ondrej PHP

What do you expect to happen?

The extension should install and be enabled

What is actually happening

There is an error enabling the extension in PHP INI; it carries thru to the next attempt, so eventually works.

Anything else?

  • which phpenmod exists, so OndrejPhpenmod is tried
  • however when using the separate PHP instance, phpenmod <the-ext> won't enable the extension
  • We need to be more clever about whether the PHP we're invoking is actually the Ondrej one
Vorherrschende Sprache
PHP
Sterne
2.1k
Forks
77
Ø Merge
17 Std. 33 Min.
Gemergte PRs (30 T.)
25

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus php/pie

Alle Issues in php/pie

Ähnliche Issues

Weitere Issues zu PHP

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.