Installing PHP
-
2. Enabling Remi Repository
Enable Remi Collet Repo for Fedora GNU/Linux
-
3. Installing PHP 8.4
Now to Install PHP 8.4 on Fedora
First, enable the Module Stream with:sudo dnf module reset php
And then to Install it:
sudo dnf module install php:remi-8.4
This Setup includes also the most useful Extensions and Tools.
Then Test your new Php with:php -v
-
4. Installing PHP 8.4 Extensions
Again to Search PHP 8.4 Extensions.
So you can Search for the available PHP 8 Extensions running:
dnf search php84-
And possibily refine the Result using a grep Pipe
dnf search php- | grep [KEYWORD]
Or:
dnf search php84- | grep extension
Next to Install them play:
sudo dnf install php84-php-pecl-[MYEXT]
Or also for instance, on a Multiple Setup:
sudo dnf install php84-php-pecl-{mcrypt,mysql,imagick,memcached}
Simply Hit “y” and Enter when the Command Stop:
Contents