How To Install mod_suphp on Fedora 34
Introduction
In this tutorial we learn how to install mod_suphp
on Fedora 34.
What is mod_suphp
suPHP is an Apache module for executing PHP scripts with the permissions of their owners. It consists of an Apache module (mod_suphp) and a setuid root binary (suphp) that is called by the Apache module to change the uid of the process executing the PHP interpreter. Please take a look at /usr/share/doc/mod_suphp/README.fedora for installation instructions.
We can use yum
or dnf
to install mod_suphp
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install mod_suphp.
Install mod_suphp on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
The output should look something like this:
After updating yum database, We can install mod_suphp
using dnf
by running the following command:
Install mod_suphp on Fedora 34 Using yum
Update yum database with yum
using the following command.
The output should look something like this:
After updating yum database, We can install mod_suphp
using yum
by running the following command:
How To Uninstall mod_suphp on Fedora 34
To uninstall only the mod_suphp
package we can use the following command:
mod_suphp Package Contents on Fedora 34
References
Summary
In this tutorial we learn how to install mod_suphp
on Fedora 34 using yum and dnf.