You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI - Installing PHP on Oracle Linux 8 via AppStream Modules

Announcement
52
Views
0
Comments
edited Nov 5, 2022 2:45PM in Linux

Applies to:

Oracle Cloud Infrastructure

Linux x86-64


Goal:

Explain Installing PHP on Oracle Linux 8 via AppStream Modules


SOLUTION

Oracle Linux 8 introduces the concept of Application Streams, where multiple versions of user-space components can be delivered and updated more frequently than the core operating system packages in RPM format or groups of related RPMs called Modules. Oracle Linux 8 offers several independently updated versions of PHP via Module Streams. 

1. To list available Module Streams for PHP

$ sudo dnf module list php 
This system is receiving updates from OSMS server.
Waiting for process with pid 6817 to finish.
Last metadata expiration check: 0:00:01 ago on Wed 21 Sep 2022 01:45:57 PM GMT.
Oracle Linux 8 Application Stream (aarch64)
Name Stream Profiles Summary
php 7.2 [d] common [d], devel, minimal PHP scripting language
php 7.3 common [d], devel, minimal PHP scripting language
php 7.4 common [d], devel, minimal PHP scripting language
php 8.0 common [d], devel, minimal PHP scripting language
Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!