On This Page
Installing Apache 2.46 and PHP 7.4 on RHEL/CentOS 7
Overview
For security related reasons you need to first install Apache 2.46 and PHP 7.4 on RHEL/CentOS 7 before upgrading TOS to:
-
R21-3 RC1
-
R21-2 HF1.5
-
R21-2 HF2
-
R21-1 HF3.2
-
R21-1 HF4
After installing these components, you will need to immediately upgrade TOS to one of the above versions. TOS will be unavailable until the upgrade is complete.
Install Apache 2.46 and PHP 7.4 on RHEL/CentOS 7
-
Login to the server as user root.
-
Enable optional RPMs.
-
Update all RPMs and reboot the server.
-
Stop the Apache service.
-
Backup the Apache configuration.
-
Remove the old Apache and PHP RPMs:
-
Remove the old Yum repositories and clean the Yum cache.
-
Install Apache 2.4.6 with required packages.
-
Install the yum-utils package for managing the Yum repositories.
-
If not installed, install the EPEL release RPM for PHP dependencies.
-
Install the Remi release RPMs for PHP 7.4.
-
Enable only PHP 7.4 repository from all Remi repositories.
-
Install PHP 7.4 with dependency packages.
-
Upgrade TOS. See the Release Notes of the relevant version for installation instructions.
CentOS 7
RHEL 7
Follow the directions on the EPEL website to install the epel-release package appropriate to the RHEL version of the system.