How to install or upgrade to PHP 8.3 on Oracle Linux 9.3
- 00:47 cat /etc/os-release
- 01:05 dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
- 02:17 dnf -y install https://rpms.remirepo.net/enterprise/remi-release-9.2.rpm
- 03:53 dnf module list php -y
- 05:29 dnf module reset php
- 05:50 dnf module install php:remi-8.3
- 06:55 dnf update
- 07:31 dnf install php
- 08:26 php -v
To Install Or Upgrade To PHP 8.3 On Oracle Linux 9.3
Introduction
PHP 8.3 is a significant update to PHP released in 2023. This update includes a variety of new features such as typed class constants, enhanced Exceptions in the DateTime extension, the introduction of the json_validate function, as well as functional changes, improvements, and deprecations. Similar to previous major versions, PHP 8.3 will also address various bug fixes and performance enhancements.
Procedure Steps
Step 1: Check the OS version by using the below Command.
[root@linuxhelp ~]# cat /etc/os-release
NAME="Oracle Linux Server"
VERSION="9.3"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="9.3"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Oracle Linux Server 9.3"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:9:3:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://github.com/oracle/oracle-linux"
ORACLE_BUGZILLA_PRODUCT="Oracle Linux 9"
ORACLE_BUGZILLA_PRODUCT_VERSION=9.3
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=9.3
Step 2: Add EPEL and REMI Repository by using the below command.
[root@linuxhelp ~]# dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Oracle Linux 9 BaseOS Latest (x86_64) 22 kB/s | 3.6 kB 00:00
Oracle Linux 9 BaseOS Latest (x86_64) 14 MB/s | 25 MB 00:01
Oracle Linux 9 Application Stream Packages (x86_64) 24 kB/s | 3.9 kB 00:00
Oracle Linux 9 Application Stream Packages (x86_64) 15 MB/s | 34 MB 00:02
Oracle Linux 9 UEK Release 7 (x86_64) 18 kB/s | 3.0 kB 00:00
Oracle Linux 9 UEK Release 7 (x86_64) 16 MB/s | 33 MB 00:02
Last metadata expiration check: 0:00:09 ago on Monday 20 May 2024 10:34:04 PM.
epel-release-latest-8.noarch.rpm 22 kB/s | 25 kB 00:01
Dependencies resolved.
=================================================================================================================================================
Package Architecture Version Repository Size
=================================================================================================================================================
Installing:
epel-release noarch 8-19.el8 @commandline 25 k
Transaction Summary
=================================================================================================================================================
Install 1 Package
Total size: 25 k
Installed size: 35 k
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : epel-release-8-19.el8.noarch 1/1
Running scriptlet: epel-release-8-19.el8.noarch 1/1
Many EPEL packages require the CodeReady Builder (CRB) repository.
It is recommended that you run /usr/bin/crb enable to enable the CRB repository.
Verifying : epel-release-8-19.el8.noarch 1/1
Installed:
epel-release-8-19.el8.noarch
Complete!
Step 3: Install yum utilities by using the below command.
[root@linuxhelp ~]# dnf -y install https://rpms.remirepo.net/enterprise/remi-release-9.2.rpm
Extra Packages for Enterprise Linux 8 - x86_64 225 kB/s | 14 MB 01:01
Last metadata expiration check: 0:00:59 ago on Monday 20 May 2024 10:34:54 PM.
remi-release-9.2.rpm 35 kB/s | 28 kB 00:00
Dependencies resolved.
=================================================================================================================================================
Package Architecture Version Repository Size
=================================================================================================================================================
Installing:
remi-release noarch 9.2-1.el9.remi @commandline 28 k
Installing dependencies:
oracle-epel-release-el9 x86_64 1.0-1.el9 ol9_baseos_latest 14 k
yum-utils noarch 4.3.0-11.0.1.el9_3 ol9_baseos_latest 53 k
Transaction Summary
=================================================================================================================================================
Install 3 Packages
Total size: 95 k
Total download size: 67 k
Installed size: 68 k
Downloading Packages:
(1/2): yum-utils-4.3.0-11.0.1.el9_3.noarch.rpm 217 kB/s | 53 kB 00:00
(2/2): oracle-epel-release-el9-1.0-1.el9.x86_64.rpm 55 kB/s | 14 kB 00:00
-------------------------------------------------------------------------------------------------------------------------------------------------
Total 256 kB/s | 67 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : yum-utils-4.3.0-11.0.1.el9_3.noarch 1/3
Installing : oracle-epel-release-el9-1.0-1.el9.x86_64 2/3
Installing : remi-release-9.2-1.el9.remi.noarch 3/3
Running scriptlet: remi-release-9.2-1.el9.remi.noarch 3/3
Verifying : oracle-epel-release-el9-1.0-1.el9.x86_64 1/3
Verifying : yum-utils-4.3.0-11.0.1.el9_3.noarch 2/3
Verifying : remi-release-9.2-1.el9.remi.noarch 3/3
Installed:
oracle-epel-release-el9-1.0-1.el9.x86_64 remi-release-9.2-1.el9.remi.noarch yum-utils-4.3.0-11.0.1.el9_3.noarch
Complete!
Step 4: List the available versions of PHP by using the below command.
[root@linuxhelp ~]# dnf module list php -y
Oracle Linux 9 EPEL Packages for Development (x86_64) 16 MB/s | 59 MB 00:03
Remi's Modular repository for Enterprise Linux 9 - x86_64 666 B/s | 833 B 00:01
Remi's Modular repository for Enterprise Linux 9 - x86_64 2.6 MB/s | 3.1 kB 00:00
Importing GPG key 0x478F8947:
Userid : "Remi's RPM repository (https://rpms.remirepo.net/) <remi@remirepo.net>"
Fingerprint: B1AB F71E 14C9 D748 97E1 98A8 B195 27F1 478F 8947
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-remi.el9
Remi's Modular repository for Enterprise Linux 9 - x86_64 160 kB/s | 673 kB 00:04
Safe Remi's RPM repository for Enterprise Linux 9 - x86_64 728 B/s | 833 B 00:01
Safe Remi's RPM repository for Enterprise Linux 9 - x86_64 3.0 MB/s | 3.1 kB 00:00
Importing GPG key 0x478F8947:
Userid : "Remi's RPM repository (https://rpms.remirepo.net/) <remi@remirepo.net>"
Fingerprint: B1AB F71E 14C9 D748 97E1 98A8 B195 27F1 478F 8947
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-remi.el9
Safe Remi's RPM repository for Enterprise Linux 9 - x86_64 224 kB/s | 995 kB 00:04
Last metadata expiration check: 0:00:03 ago on Monday 20 May 2024 10:37:15 PM.
Oracle Linux 9 Application Stream Packages (x86_64)
Name Stream Profiles Summary
php 8.1 common [d], devel, minimal PHP scripting language
php 8.2 common [d], devel, minimal PHP scripting language
Remi's Modular repository for Enterprise Linux 9 - x86_64
Name Stream Profiles Summary
php remi-7.4 common [d], devel, minimal PHP scripting language
php remi-8.0 common [d], devel, minimal PHP scripting language
php remi-8.1 common [d], devel, minimal PHP scripting language
php remi-8.2 common [d], devel, minimal PHP scripting language
php remi-8.3 common [d], devel, minimal PHP scripting language
Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled
Step 5: Reset PHP module and install PHP 8.2 from remi-8.2 module by using the below command.
[root@linuxhelp ~]# dnf module reset php
Last metadata expiration check: 0:00:49 ago on Monday 20 May 2024 10:37:15 PM.
Dependencies resolved.
Nothing to do.
Complete!
[root@linuxhelp ~]# dnf module install php:remi-8.3
Last metadata expiration check: 0:01:21 ago on Monday 20 May 2024 10:37:15 PM.
Dependencies resolved.
=================================================================================================================================================
Package Architecture Version Repository Size
=================================================================================================================================================
Installing group/module packages:
php-cli x86_64 8.3.7-1.el9.remi remi-modular 5.6 M
php-common x86_64 8.3.7-1.el9.remi remi-modular 1.2 M
php-fpm x86_64 8.3.7-1.el9.remi remi-modular 1.9 M
php-mbstring x86_64 8.3.7-1.el9.remi remi-modular 579 k
php-xml x86_64 8.3.7-1.el9.remi remi-modular 220 k
Installing dependencies:
httpd-filesystem noarch 2.4.57-8.0.1.el9 ol9_appstream 11 k
oniguruma5php x86_64 6.9.9-1.el9.remi remi-safe 219 k
Installing weak dependencies:
nginx-filesystem noarch 1:1.20.1-14.0.2.el9_2.1 ol9_appstream 8.2 k
Installing module profiles:
php/common
Enabling module streams:
php remi-8.3
Transaction Summary
=================================================================================================================================================
Install 8 Packages
Total download size: 9.7 M
Installed size: 54 M
Is this ok [y/N]: y
Downloading Packages:
(1/8): httpd-filesystem-2.4.57-8.0.1.el9.noarch.rpm 44 kB/s | 11 kB 00:00
(2/8): nginx-filesystem-1.20.1-14.0.2.el9_2.1.noarch.rpm 31 kB/s | 8.2 kB 00:00
(3/8): php-common-8.3.7-1.el9.remi.x86_64.rpm 283 kB/s | 1.2 MB 00:04
(4/8): php-mbstring-8.3.7-1.el9.remi.x86_64.rpm 580 kB/s | 579 kB 00:00
(5/8): php-fpm-8.3.7-1.el9.remi.x86_64.rpm 338 kB/s | 1.9 MB 00:05
(6/8): php-xml-8.3.7-1.el9.remi.x86_64.rpm 560 kB/s | 220 kB 00:00
(7/8): oniguruma5php-6.9.9-1.el9.remi.x86_64.rpm 599 kB/s | 219 kB 00:00
(8/8): php-cli-8.3.7-1.el9.remi.x86_64.rpm 640 kB/s | 5.6 MB 00:08
-------------------------------------------------------------------------------------------------------------------------------------------------
Total 1.0 MB/s | 9.7 MB 00:09
Remi's Modular repository for Enterprise Linux 9 - x86_64 1.6 MB/s | 3.1 kB 00:00
Importing GPG key 0x478F8947:
Userid : "Remi's RPM repository (https://rpms.remirepo.net/) <remi@remirepo.net>"
Fingerprint: B1AB F71E 14C9 D748 97E1 98A8 B195 27F1 478F 8947
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-remi.el9
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: php-common-8.3.7-1.el9.remi.x86_64 1/8
Installing : php-common-8.3.7-1.el9.remi.x86_64 1/8
Installing : oniguruma5php-6.9.9-1.el9.remi.x86_64 2/8
Running scriptlet: nginx-filesystem-1:1.20.1-14.0.2.el9_2.1.noarch 3/8
Installing : nginx-filesystem-1:1.20.1-14.0.2.el9_2.1.noarch 3/8
Running scriptlet: httpd-filesystem-2.4.57-8.0.1.el9.noarch 4/8
Installing : httpd-filesystem-2.4.57-8.0.1.el9.noarch 4/8
Installing : php-fpm-8.3.7-1.el9.remi.x86_64 5/8
Running scriptlet: php-fpm-8.3.7-1.el9.remi.x86_64 5/8
Installing : php-mbstring-8.3.7-1.el9.remi.x86_64 6/8
Installing : php-cli-8.3.7-1.el9.remi.x86_64 7/8
Installing : php-xml-8.3.7-1.el9.remi.x86_64 8/8
Running scriptlet: php-xml-8.3.7-1.el9.remi.x86_64 8/8
Verifying : httpd-filesystem-2.4.57-8.0.1.el9.noarch 1/8
Verifying : nginx-filesystem-1:1.20.1-14.0.2.el9_2.1.noarch 2/8
Verifying : php-cli-8.3.7-1.el9.remi.x86_64 3/8
Verifying : php-common-8.3.7-1.el9.remi.x86_64 4/8
Verifying : php-fpm-8.3.7-1.el9.remi.x86_64 5/8
Verifying : php-mbstring-8.3.7-1.el9.remi.x86_64 6/8
Verifying : php-xml-8.3.7-1.el9.remi.x86_64 7/8
Verifying : oniguruma5php-6.9.9-1.el9.remi.x86_64 8/8
Installed:
httpd-filesystem-2.4.57-8.0.1.el9.noarch nginx-filesystem-1:1.20.1-14.0.2.el9_2.1.noarch oniguruma5php-6.9.9-1.el9.remi.x86_64
php-cli-8.3.7-1.el9.remi.x86_64 php-common-8.3.7-1.el9.remi.x86_64 php-fpm-8.3.7-1.el9.remi.x86_64
php-mbstring-8.3.7-1.el9.remi.x86_64 php-xml-8.3.7-1.el9.remi.x86_64
Complete!
Step 6: Install any remaining updates by using the below command.
[root@linuxhelp ~]# dnf update
Last metadata expiration check: 0:02:10 ago on Monday 20 May 2024 10:37:15 PM.
Dependencies resolved.
=================================================================================================================================================
Package Architecture Version Repository Size
=================================================================================================================================================
Installing:
kernel x86_64 5.14.0-427.16.1.el9_4 ol9_baseos_latest 5.8 M
Upgrading:
NetworkManager x86_64 1:1.46.0-4.0.1.el9_4 ol9_baseos_latest 2.3 M
NetworkManager-adsl x86_64 1:1.46.0-4.0.1.el9_4 ol9_baseos_latest 35 k
NetworkManager-bluetooth x86_64 1:1.46.0-4.0.1.el9_4 ol9_baseos_latest 61 k
NetworkManager-config-server noarch 1:1.46.0-4.0.1.el9_4 ol9_baseos_latest 21 k
NetworkManager-libnm x86_64 1:1.46.0-4.0.1.el9_4 ol9_baseos_latest 1.9 M
NetworkManager-team x86_64 1:1.46.0-4.0.1.el9_4 ol9_baseos_latest 40 k
NetworkManager-tui x86_64 1:1.46.0-4.0.1.el9_4 ol9_baseos_latest 252 k
NetworkManager-wifi x86_64 1:1.46.0-4.0.1.el9_4 ol9_baseos_latest 84 k
NetworkManager-wwan x86_64 1:1.46.0-4.0.1.el9_4 ol9_baseos_latest 68 k
PackageKit x86_64 1.2.6-1.0.1.el9 ol9_appstream 725 k
PackageKit-command-not-found x86_64 1.2.6-1.0.1.el9 ol9_appstream 21 k
PackageKit-glib x86_64 1.2.6-1.0.1.el9 ol9_appstream 156 k
PackageKit-gstreamer-plugin x86_64 1.2.6-1.0.1.el9 ol9_appstream 16 k
PackageKit-gtk3-module x86_64 1.2.6-1.0.1.el9 ol9_appstream 15 k
aardvark-dns x86_64 2:1.10.0-3.el9_4 ol9_appstream 967 k
acl x86_64 2.3.1-4.el9 ol9_baseos_latest 87 k
alsa-lib x86_64 1.2.10-2.el9 ol9_appstream 592 k
alsa-lib-devel x86_64 1.2.10-2.el9 ol9_appstream 1.4 M
alsa-ucm noarch 1.2.10-2.el9 ol9_appstream 515 k
alsa-utils x86_64 1.2.10-1.el9 ol9_appstream 1.2 M
annobin x86_64 12.31-2.el9 ol9_appstream 1.0 M
audit x86_64 3.1.2-2.el9 ol9_baseos_latest 330 k
audit-libs x86_64 3.1.2-2.el9 ol9_baseos_latest 122 k
avahi x86_64 0.8-20.el9 ol9_baseos_latest 371 k
avahi-glib x86_64 0.8-20.el9 ol9_appstream 14 k
avahi-libs x86_64 0.8-20.el9 ol9_baseos_latest 73 k
bash x86_64 5.1.8-9.el9 ol9_baseos_latest 1.8 M
bash-completion noarch 1:2.11-5.el9 ol9_baseos_latest 781 k
bind-libs x86_64 32:9.16.23-18.0.1.el9_4.1 ol9_appstream 1.2 M
bind-license noarch 32:9.16.23-18.0.1.el9_4.1 ol9_appstream 12 k
bind-utils x86_64 32:9.16.23-18.0.1.el9_4.1 ol9_appstream 225 k
binutils x86_64 2.35.2-43.0.1.el9 ol9_baseos_latest 4.8 M
binutils-devel x86_64 2.35.2-43.0.1.el9 ol9_appstream 4.1 M
binutils-gold x86_64 2.35.2-43.0.1.el9 ol9_baseos_latest 746 k
bpftool x86_64 7.3.0-427.16.1.el9_4 ol9_baseos_latest 6.6 M
btrfs-progs x86_64 5.15.1-1.el9 ol9_baseos_latest 984 k
buildah x86_64 2:1.33.7-1.0.1.el9_4 ol9_appstream 9.4 M
checkpolicy x86_64 3.6-1.el9 ol9_appstream 362 k
chrony x86_64 4.5-1.0.1.el9 ol9_baseos_latest 355 k
cmake-filesystem x86_64 3.26.5-2.el9 ol9_appstream 11 k
cockpit x86_64 311.1-1.0.2.el9 ol9_baseos_latest 48 k
cockpit-bridge x86_64 311.1-1.0.2.el9 ol9_baseos_latest 729 k
cockpit-packagekit noarch 311.1-1.0.2.el9 ol9_appstream 1.0 M
cockpit-podman noarch 84.1-1.el9 ol9_appstream 713 k
cockpit-storaged noarch 311.1-1.0.2.el9 ol9_appstream 903 k
cockpit-system noarch 311.1-1.0.2.el9 ol9_baseos_latest 5.5 M
cockpit-ws x86_64 311.1-1.0.2.el9 ol9_baseos_latest 1.0 M
conmon x86_64 2:2.1.10-1.el9 ol9_appstream 56 k
container-selinux noarch 3:2.229.0-1.el9_3 ol9_appstream 66 k
containernetworking-plugins x86_64 1:1.4.0-2.el9_4 ol9_appstream 9.3 M
containers-common x86_64 2:1-91.0.1.el9_4 ol9_appstream 107 k
coreutils x86_64 8.32-35.0.1.el9 ol9_baseos_latest 1.2 M
coreutils-common x86_64 8.32-35.0.1.el9 ol9_baseos_latest 2.1 M
cpp x86_64 11.4.1-3.0.1.el9 ol9_appstream 11 M
criu x86_64 3.19-1.el9 ol9_appstream 565 k
criu-libs x86_64 3.19-1.el9 ol9_appstream 31 k
cronie x86_64 1.5.7-11.el9 ol9_baseos_latest 133 k
cronie-anacron x86_64 1.5.7-11.el9 ol9_baseos_latest 37 k
crun x86_64 1.14.3-1.el9 ol9_appstream 222 k
crypto-policies noarch 20240202-1.git283706d.el9 ol9_baseos_latest 175 k
crypto-policies-scripts noarch 20240202-1.git283706d.el9 ol9_baseos_latest 151 k
cups x86_64 1:2.3.3op2-24.el9 ol9_appstream 2.0 M
cups-client x86_64 1:2.3.3op2-24.el9 ol9_appstream 85 k
cups-filesystem noarch 1:2.3.3op2-24.el9 ol9_appstream 9.4 k
cups-filters x86_64 1.28.7-15.0.1.el9 ol9_appstream 838 k
cups-filters-libs x86_64 1.28.7-15.0.1.el9 ol9_appstream 137 k
cups-ipptool x86_64 1:2.3.3op2-24.el9 ol9_appstream 3.9 M
cups-libs x86_64 1:2.3.3op2-24.el9 ol9_baseos_latest 265 k
curl x86_64 7.76.1-29.el9_4 ol9_baseos_latest 304 k
device-mapper x86_64 9:1.02.197-2.el9 ol9_baseos_latest 156 k
device-mapper-event x86_64 9:1.02.197-2.el9 ol9_baseos_latest 38 k
device-mapper-event-libs x86_64 9:1.02.197-2.el9 ol9_baseos_latest 31 k
device-mapper-libs x86_64 9:1.02.197-2.el9 ol9_baseos_latest 177 k
device-mapper-multipath x86_64 0.8.7-27.el9 ol9_baseos_latest 167 k
device-mapper-multipath-libs x86_64 0.8.7-27.el9 ol9_baseos_latest 301 k
device-mapper-persistent-data x86_64 1.0.9-3.el9_4 ol9_baseos_latest 1.0 M
dmidecode x86_64 1:3.5-3.el9 ol9_baseos_latest 108 k
dnf noarch 4.14.0-9.0.1.el9 ol9_baseos_latest 533 k
dnf-data noarch 4.14.0-9.0.1.el9 ol9_baseos_latest 46 k
dnf-plugins-core noarch 4.3.0-13.0.1.el9 ol9_baseos_latest 55 k
dnsmasq x86_64 2.85-16.el9_4 ol9_appstream 340 k
dracut x86_64 057-53.git20240104.0.1.el9 ol9_baseos_latest 676 k
dracut-config-rescue x86_64 057-53.git20240104.0.1.el9 ol9_baseos_latest 13 k
dracut-network x86_64 057-53.git20240104.0.1.el9 ol9_baseos_latest 148 k
dracut-squash x86_64 057-53.git20240104.0.1.el9 ol9_baseos_latest 13 k
dtrace x86_64 2.0.0-1.14.el9 ol9_UEKR7 4.1 M
e2fsprogs x86_64 1.46.5-5.el9 ol9_baseos_latest 1.1 M
e2fsprogs-libs x86_64 1.46.5-5.el9 ol9_baseos_latest 221 k
Step 7: Install PHP by using the below command
[root@linuxhelp ~]# dnf install php
Last metadata expiration check: 0:07:34 ago on Monday 20 May 2024 10:37:15 PM.
Dependencies resolved.
=================================================================================================================================================
Package Architecture Version Repository Size
=================================================================================================================================================
Installing:
php x86_64 8.3.7-1.el9.remi remi-modular 1.8 M
Installing dependencies:
capstone x86_64 4.0.2-10.el9 ol9_appstream 774 k
httpd-core x86_64 2.4.57-8.0.1.el9 ol9_appstream 1.8 M
httpd-tools x86_64 2.4.57-8.0.1.el9 ol9_appstream 95 k
libsodium x86_64 1.0.18-8.el9 ol9_developer_EPEL 161 k
Installing weak dependencies:
php-opcache x86_64 8.3.7-1.el9.remi remi-modular 574 k
php-pdo x86_64 8.3.7-1.el9.remi remi-modular 119 k
php-sodium x86_64 8.3.7-1.el9.remi remi-modular 61 k
Transaction Summary
=================================================================================================================================================
Install 8 Packages
Total download size: 5.4 M
Installed size: 24 M
Is this ok [y/N]: y
Downloading Packages:
(1/8): httpd-core-2.4.57-8.0.1.el9.x86_64.rpm 4.3 MB/s | 1.8 MB 00:00
(2/8): httpd-tools-2.4.57-8.0.1.el9.x86_64.rpm 1.8 MB/s | 95 kB 00:00
(3/8): capstone-4.0.2-10.el9.x86_64.rpm 1.3 MB/s | 774 kB 00:00
(4/8): php-opcache-8.3.7-1.el9.remi.x86_64.rpm 493 kB/s | 574 kB 00:01
(5/8): php-pdo-8.3.7-1.el9.remi.x86_64.rpm 668 kB/s | 119 kB 00:00
(6/8): php-sodium-8.3.7-1.el9.remi.x86_64.rpm 369 kB/s | 61 kB 00:00
(7/8): php-8.3.7-1.el9.remi.x86_64.rpm 806 kB/s | 1.8 MB 00:02
(8/8): libsodium-1.0.18-8.el9.x86_64.rpm 37 kB/s | 161 kB 00:04
-------------------------------------------------------------------------------------------------------------------------------------------------
Total 1.1 MB/s | 5.4 MB 00:04
Running transaction check
Waiting for process with pid 7965 to finish.
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : php-pdo-8.3.7-1.el9.remi.x86_64 1/8
Installing : httpd-tools-2.4.57-8.0.1.el9.x86_64 2/8
Installing : httpd-core-2.4.57-8.0.1.el9.x86_64 3/8
Installing : capstone-4.0.2-10.el9.x86_64 4/8
Installing : php-opcache-8.3.7-1.el9.remi.x86_64 5/8
Installing : libsodium-1.0.18-8.el9.x86_64 6/8
Installing : php-sodium-8.3.7-1.el9.remi.x86_64 7/8
Installing : php-8.3.7-1.el9.remi.x86_64 8/8
Running scriptlet: php-8.3.7-1.el9.remi.x86_64 8/8
/sbin/ldconfig: /lib64/libinih.so.0 is not a symbolic link
/sbin/ldconfig: /lib64/libinih.so.0 is not a symbolic link
Verifying : libsodium-1.0.18-8.el9.x86_64 1/8
Verifying : capstone-4.0.2-10.el9.x86_64 2/8
Verifying : httpd-core-2.4.57-8.0.1.el9.x86_64 3/8
Verifying : httpd-tools-2.4.57-8.0.1.el9.x86_64 4/8
Verifying : php-8.3.7-1.el9.remi.x86_64 5/8
Verifying : php-opcache-8.3.7-1.el9.remi.x86_64 6/8
Verifying : php-pdo-8.3.7-1.el9.remi.x86_64 7/8
Verifying : php-sodium-8.3.7-1.el9.remi.x86_64 8/8
Installed:
capstone-4.0.2-10.el9.x86_64 httpd-core-2.4.57-8.0.1.el9.x86_64 httpd-tools-2.4.57-8.0.1.el9.x86_64 libsodium-1.0.18-8.el9.x86_64
php-8.3.7-1.el9.remi.x86_64 php-opcache-8.3.7-1.el9.remi.x86_64 php-pdo-8.3.7-1.el9.remi.x86_64 php-sodium-8.3.7-1.el9.remi.x86_64
Complete!
Step 8: Verify the installed PHP version by using the below command
[root@linuxhelp ~]# php -v
PHP 8.3.7 (cli) (built: May 7 2024 16:35:26) (NTS gcc x86_64)
Copyright (c) The PHP Group
Zend Engine v4.3.7, Copyright (c) Zend Technologies
with Zend OPcache v8.3.7, Copyright (c), by Zend Technologies
Conclusion:
We have reached the end of this article. In this guide, we have walked you through the steps required to install or upgrade to PHP 8.3 on Oracle Linux 9.3. Your feedback is much welcome.
Comments ( 0 )
No comments available