Did You Know?

How Can We Help?

Special Offer

Deploy your Cloud Server now and get $100 in Free Credits!

Get Started

How To Install PHP 8.0 on Fedora 34

Table of Content
How To Install PHP 8.0 on Fedora 34


In this article you will learn how to install PHP 8.0 on Fedora 34.

PHP is the most widely used server-side scripting language in creation of dynamic web pages. PHP applications usually work well with HTML and interact with relation database management systems, here are the steps to Install PHP 8 on Fedora 34.

PHP is an open-source server-side programming language that may be used to construct a wide range of various things, such as websites, applications, and customer relationship management systems. PHP is a server-side programming language. It is a programming language that may be used for a variety of purposes and is rather popular. Additionally, it can be included into HTML. Because PHP can work with HTML, it has remained one of the most widely used programming languages in the development community. This is due to the fact that PHP contributes to the simplification of the HTML code.

The phrase "PHP: Hypertext Preprocessor" is what the acronym PHP refers to, with the "PHP" in PHP initially standing for "Personal Home Page" inside this abbreviation. Since its creation in 1994, the phrase has gone through a number of modifications in order to provide a more accurate description of the nature of the entity to which it refers.

For nearly three decades, PHP has been a go-to language for web development thanks to its many features and flexibility.

Install PHP 8.0 on Fedora using Remi repository

Update your Fedora system.

[console]# dnf -y update[/console]

[console]# dnf -y install http://rpms.remirepo.net/fedora/remi-release-34.rpm[/console]

After the repository has been installed, you will need to enable the one that has the version of PHP that you require. See the example below below:

[console]# dnf -y install dnf-plugins-core[/console]

[console]# dnf config-manager --set-enabled remi[/console]

[console]# dnf module reset php -y[/console]

[console]# dnf module -y install php:remi-8.0[/console]

Install PHP extensions using the name format php-. Example:

[console]# dnf -y install php-cli php-fpm php-mysqlnd php-zip php-devel php-gd php-mcrypt php-mbstring php-curl php-xml php-pear php-bcmath php-json[/console]

It appears like PHP has been successfully installed on Fedora:

[console]# php -v[/console]

command output


I hope you have learned how to install PHP 8 on Fedora 34.

Thank You 🙂


Special Offer

Deploy your Cloud Server now and get $100 in Free Credits!

Get Started
Table of Contents