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

PHP 8.5 Breaks Upgrading

未关闭
#2,595 10 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

@BUTTERFINGERS7498 已经在做这个了。

开始于 2026年8月30日。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
58/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
docker, php

调研方向

先查看链接的报告和 pull request,然后检查 Docker 镜像的 PHP 基础镜像和扩展配置,同时比较 PHP 8.4 与 8.5。从 34.0.1 或更高版本复现升级;当镜像成功升级且没有 opcache 加载警告或错误的版本检查时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

0. Needs triage bug

According to this report https://github.com/nextcloud/docker/pull/2580#issuecomment-5084361376 upgrading to 34.0.1 and above fails.
I get this error :

2026-08-15T10:06:35.880063355Z Warning: Failed loading Zend extension 'opcache' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20250925/opcache (/usr/local/lib/php/extensions/no-debug-non-zts-20250925/opcache: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20250925/opcache.so (/usr/local/lib/php/extensions/no-debug-non-zts-20250925/opcache.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
2026-08-15T10:06:35.880070705Z 34.0.2.1) is higher than the docker image version (
2026-08-15T10:06:35.880075602Z Warning: Failed loading Zend extension 'opcache' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20250925/opcache (/usr/local/lib/php/extensions/no-debug-non-zts-20250925/opcache: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20250925/opcache.so (/usr/local/lib/php/extensions/no-debug-non-zts-20250925/opcache.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
2026-08-15T10:06:35.880081913Z 34.0.3.2) and downgrading is not supported. Are you sure you have pulled the newest image version?

As mentioned here I tested the 34.0.3 version but this issue still persists
when we downgrade the base image from php 8.5 to 8.4 the problem goes away

主要语言
Shell
星标
7.4k
派生
1.9k
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

nextcloud/docker 的其他 Issue

查看 nextcloud/docker 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

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