Installing
- 
3. Installing PHP 8.xNow to Install PHP 8.x on Fedora 
 First, enable the Module Stream with:sudo dnf module reset php Then to Search for the available PHP 8 Releases: dnf search php8 Then for instance, to Enable PHP 8.5 play: sudo dnf module enable php:remi-8.5 This Setup includes also the most useful Extensions and Tools. 
 Next to Install LAMP with MariaDB Server:sudo dnf --enablerepo=remi install php httpd mariadb-server mariadb php-mysqli Last to Enable Apache with PHP integration: sudo systemctl enable --now httpd php-fpm Especially relevant, then in case of mysqlnd_global_stats Issue see the: Troubleshooting. 
 This Setup includes also the most useful Extensions and Tools.
 Then Test your new Php with:php -v 
- 
4. Installing PHP 8.x ExtensionsAgain to Search PHP 8.x Extensions. So you can Search for the available PHP 8 Extensions running: dnf search php85- And possibily refine the Result using a grep Pipe dnf search php- | grep [KEYWORD] Or: dnf search php85- | grep extension Next to Install them play: sudo dnf install php85-php-pecl-[MYEXT] To Install a recommended Set for WordPress use: sudo dnf install -y php-intl php-zip php-bcmath php-opcache php-soap php-json php-imagick php-xmlrpc Or also for instance, on a Multiple Setup: sudo dnf install php85-php-pecl-{mcrypt,mysql,imagick,memcached}Simply Hit “y” and Enter when the Command Stop:   
Contents
