Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

OndrejPhpenmod used even when PHP invoking it is different

未关闭
#761 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@asgrim 已经在做这个了。

开始于 2026年10月6日。

评估

这个 Issue 还没有评估数据。

描述

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
主要语言
PHP
星标
2k
派生
75
平均合并
8 小时 20 分钟
30 天内合并 PR
12

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

php/pie 的其他 Issue

查看 php/pie 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。