PHP 8.5 Breaks Upgrading
@BUTTERFINGERS7498 已经在做这个了。
开始于 2026年8月30日。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 58/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- docker, php
- 领域
- devops, infrastructure
调研方向
先查看链接的报告和 pull request,然后检查 Docker 镜像的 PHP 基础镜像和扩展配置,同时比较 PHP 8.4 与 8.5。从 34.0.1 或更高版本复现升级;当镜像成功升级且没有 opcache 加载警告或错误的版本检查时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
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 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nextcloud/docker 的其他 Issue
-
1. To develop bug feature: cron image
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 70/100
-
bug docs
难度 1/5 1 小时以内 新手友好度 72/100
-
0. Needs triage bug
难度 4/5 3-5 天 新手友好度 35/100
-
Imagick architecture mismatch (x86_64 vs aarch64) on official arm64 image causes Apache segfaults未关闭0. Needs triage bug
难度 4/5 3-5 天 新手友好度 50/100
相似的 Issue
-
status:needs-triage
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
enhancement good first issue help wanted
难度 2/5 1-3 小时 新手友好度 82/100
Sorogate/example-consumer#14 ·
-
github_actions good first issue help wanted
难度 2/5 1-3 小时 新手友好度 75/100
-
documentation
难度 2/5 1-3 小时 新手友好度 82/100
alunduil/alunduil-chezmoi#874 ·
维护者通常 1 天内回复
-
enhancement
难度 1/5 1 小时以内 新手友好度 85/100
alunduil/zellij-claude-pair#53 ·
维护者通常 1 天内回复