• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved PHP 7.4 on Almalinux 9

Erwan

Regular Pleskian
Server operating system version
almalinux 9
Plesk version and microupdate number
18.0.58
Hi all,

I know PHP 7.4 is depreciated but we must install it on Almalinux 9 on a new server.
We have use this :

#dnf update

Installing the EPEL and Remi Repository
#dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
#dnf install https://rpms.remirepo.net/enterprise/remi-release-9.rpm


Installing PHP 7.4
#dnf module install php:remi-7.4
#php -v

PHP 7.4.33 (cli) (built: Dec 12 2023 14:50:57) ( NTS )

Does anyone have instructions for adding the version to Plesk?
Thank you.

Erwan
 
In the past, the Remi repository has caused a lot of trouble. I'd not use it. Instead you can simply install PHP 7.4 through the Plesk installer, and it will be installed from the default repositories. Alma 9 supports PHP 7.4.
 
Back
Top