Search ALL -->
| Install PHP 8.4 on Fedora, RHEL, CentOS Stream, Alma, Rocky or other clone ( 2025-09-27 ) + ( 863 ) | | https://blog.remirepo.net/post/2024/12/18/Install-PHP-8.4-on-Fedora-RHEL-CentOS-Alma-Rocky-or-other-clone | Install PHP 8.4 on Fedora, RHEL, CentOS Stream, Alma, Rocky or other clone + Par Remi le mercredi 18 décembre 2024, 09:31 - HowTo - Lien permanent Here is a quick howto upgrade default PHP version provided on Fedora, RHEL, CentOS, AlmaLinux, Rocky Linux or other clones with latest version 8.4. You can also follow the Wizard instructions. Architectures: The repository is available for x86_64 (Intel/AMD) and aarch64 (ARM). Repositories configuration: On Fedora, standards repositories are enough, on Enterprise Linux (RHEL, CentOS) the Extra Packages for Enterprise Linux (EPEL) and Code Ready Builder (CRB) repositories must be configured. Fedora 41 dnf install https://rpms.remirepo.net/fedora/remi-release-41.rpm Fedora 40 dnf install https://rpms.remirepo.net/fedora/remi-release-40.rpm RHEL version 10.0-Beta dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm dnf install https://rpms.remirepo.net/enterprise/remi-release-10.rpm subscription-manager repos --enable codeready-builder-for-rhel-10-x86_64-rpms RHEL version 9.5 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 subscription-manager repos --enable codeready-builder-for-rhel-9-x86_64-rpms RHEL version 8.10 dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms CentOS Stream 10 dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm dnf install https://rpms.remirepo.net/enterprise/remi-release-10.rpm crb install Alma, CentOS Stream, Rocky version 9 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 crb install Alma, Rocky version 8 dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm crb install PHP module usage With Fedora and EL, you can simply use the remi-8.4 stream of the php module With Fedora 41 (dnf5 has partial module support) dnf module reset php dnf module enable php:remi-8.4 dnf install php-cli php-fpm php-mbstring php-xml Other distributions (dnf4) dnf module switch-to php:remi-8.4/common PHP upgrade By choice, the packages have the same name as in the distribution, so a simple update is enough: dnf update That's all :) $ php -v PHP 8.4.2 (cli) (built: Dec 17 2024 15:31:31) (NTS gcc x86_64) Copyright (c) The PHP Group Built by Remi's RPM repository #StandWithUkraine Zend Engine v4.4.2, Copyright (c) Zend Technologies with Zend OPcache v8.4.2, Copyright (c), by Zend Technologies
|
|