OCI - Installing PHP on Oracle Linux 8 via AppStream Modules
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
Tagged:
0