How to upgrade from PHP 7.x to PHP 8.0 in Red Hat Enterprise Linux 8?

Solution Verified - Updated -

Issue

  • How to upgrade from PHP 7.x to PHP 8.0 in RHEL 8?
  • How to install php-8 or php8 in RHEL8?
  • How can we enable repo for the different streams of php?

Environment

  • Red Hat Enterprise Linux (RHEL)
    • 8.x
  • PHP
    • 7.x, 8.0

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