因此,我正在运行一个命令dnf module enabled -y php:7.4 php-oci8
,但遇到了模块化依赖问题,这以前不是一个问题。
Problem: module php-oci8:21c:8060020221011134100:34611983.x86_64 requires module(php:8.0), but none of the providers can be installed
- module php:7.4:8030020200615123046:a4870ff1.x86_64 conflicts with module(php:8.0) provided by php:8.0:8060020211215065547:0a326c83.x86_64
- module php:8.0:8060020211215065547:0a326c83.x86_64 conflicts with module(php:7.4) provided by php:7.4:8030020200615123046:a4870ff1.x86_64
- module php:7.4:8030020200615123046:a4870ff1.x86_64 conflicts with module(php:8.0) provided by php:8.0:8060020220622070726:5caa48ff.x86_64
- module php:8.0:8060020220622070726:5caa48ff.x86_64 conflicts with module(php:7.4) provided by php:7.4:8030020200615123046:a4870ff1.x86_64
- module php:7.4:8030020200615123046:a4870ff1.x86_64 conflicts with module(php:8.0) provided by php:8.0:8070020220801083134:afd00e68.x86_64
- module php:8.0:8070020220801083134:afd00e68.x86_64 conflicts with module(php:7.4) provided by php:7.4:8030020200615123046:a4870ff1.x86_64
- conflicting requests
对这个事情不太熟悉。
答案1
问题出在我的docker文件第一行
FROM ghcr.io/oracle/oraclelinux8-php:7.4-fpm
改成
FROM ghcr.io/oracle/oraclelinux8-php:7.4-fpm-20221114