Modular dependency problem with php:7.2 and nginx

Solution Verified - Updated -

Issue

After switching to a later stream for nginx, yum/dnf shows:

 Modular dependency problem:

 Problem: module php:7.2:820181215112050:76554e01.x86_64 requires module(nginx:1.14), but none of the providers can be installed
  - module nginx:1.14:820181214004940:9edba152.x86_64 conflicts with module(nginx:1.18) provided by nginx:1.18:8040020210526100943:522a0ee4.x86_64
  - module nginx:1.18:8040020210526100943:522a0ee4.x86_64 conflicts with module(nginx:1.14) provided by nginx:1.14:820181214004940:9edba152.x86_64
  - module nginx:1.14:8000020190830002848:f8e95b4e.x86_64 conflicts with module(nginx:1.18) provided by nginx:1.18:8040020210526100943:522a0ee4.x86_64
  - module nginx:1.18:8040020210526100943:522a0ee4.x86_64 conflicts with module(nginx:1.14) provided by nginx:1.14:8000020190830002848:f8e95b4e.x86_64
  - conflicting requests

Environment

Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content