Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»Databases»MySQL»How To Install phpMyAdmin on Fedora

    How To Install phpMyAdmin on Fedora

    RahulBy RahulJuly 8, 20183 Mins ReadUpdated:April 27, 2022

    PhpMyAdmin is a popular web-based client for managing MySQL server. The phpMyAdmin is written in PHP programming language. It provides a user-friendly web interface to access and manage MySQL server and databases.

    It allows you to create a database and users and assign privileges to users. You can create tables in the database and also perform insert, update, and delete operations in table records.

    This article will help you with how to install phpMyAdmin on Fedora 34/33/32/31/30 systems.

    System Requirements

    Assuming you already have a LAMP (Apache, MySQL, and PHP) stack installed on your system. Here are the minimum requirements for installing the latest version phpMyAdmin.

    • Apache >= 2.2
    • PHP >= 7.1
    • MySQL/MariaDB >= 5.5

    Alternatively, you can use our tutorial to install and configure LAMP stack on Fedora system.

    Next, you can follow one of the below methods to install phpMyAdmin on a Fedora Linux system.

    Method 1: Installing phpMyAdmin on Fedora from Default Repository

    The latest Fedora versions default DNF repositories contain the latest version of the phpMyAdmin packages. So we recommend installing phpMyAdmin on Fedora from the default repository.

    sudo dnf install phpmyadmin 
    

    Now, you can get phpMyAdmin access by visiting http://localhost/phpmyadmin URL in a web browser.

    You will get instructions to allow phpMyAdmin remote access below in this article.

    Method 2: Installing phpMyAdmin on Fedora from REMI Repository

    In older Fedora versions the default repositories may not have updated versions. In that case, you can use REMI repositories, that contains the latest version of phpMyAdmin.

    1. First, configure the REMI repository on your system
      • On Fedora 35:
        sudo rpm -Uvh http://rpms.famillecollet.com/fedora/remi-release-35.rpm 
        
      • On Fedora 34:
        sudo rpm -Uvh http://rpms.famillecollet.com/fedora/remi-release-34.rpm 
        
    2. After enabling the REMI repository on your system, let's start with the installation of phpMyAdmin using the DNF package manager. All the dependencies will be automatically installed on your system.
      sudo dnf --enablerepo=remi,remi-test install phpMyAdmin 
      

      Press 'y' for the confirmation asked by the DNF tool to complete the installation.

    3. After making any changes in the Apache configuration file, you must restart the Apache service to reload updated settings.
      sudo systemctl restart httpd 
      

    Allow phpMyAdmin Access to Remote Hosts

    If you want to access phpMyAdmin from the remote host. Edit the phpMyAdmin web server configuration file in a text editor:

    sudo nano /etc/httpd/conf.d/phpMyAdmin.conf 
    

    Then replace Require local with Require all granted to allow remote hosts to access phpMyAdmin.

    How to Install phpMyAdmin on Fedora Linux
    Allow phpMyAdmin to Remote Systems

    Save the changes and restart the HTTPD service to apply.

    sudo systemctl restart httpd 
    

    All done.

    Access phpMyAdmin in Browser

    Now you can access phpMyAdmin in any browser using the following URL. The remote users need to change localhost with the system's IP address or hostname.

  • http://localhost/phpmyadmin/
  • Install phpmyadmin on fedora

    Congratulation's You have successfully installed phpMyAdmin. Using single phpMyAdmin we can manage multiple MySQL servers by adding multiple remote MySQL server. Use this article to add multiple MySQL hosts in phpMyAdmin.

    MySQL phpmyadmin
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleHow To Install MongoDB in Fedora 35/34
    Next Article How To Read XML file in PHP (SimpleXML)

    Related Posts

    Backup MySQL Databases to Amazon S3 (Shell Script)

    Updated:May 28, 20222 Mins Read

    How to Install MariaDB on Ubuntu 22.04

    Updated:May 28, 20222 Mins Read

    How To Install Linux, Nginx, MySQL, & PHP (LEMP Stack) on Ubuntu 22.04

    Updated:April 7, 20227 Mins Read

    How To Install MySQL Server on Ubuntu 22.04

    Updated:April 6, 20224 Mins Read

    How to Install Apache, MySQL, PHP (LAMP Stack) on Ubuntu 22.04

    Updated:June 28, 20225 Mins Read

    How To Install MariaDB on Debian 11

    4 Mins Read

    2 Comments

    1. Vincent Morel on April 26, 2022 1:46 pm

      On Fedora a simple ‘sudo dnf install phpmyadmin’ works as a charm. 🙂

      Reply
    2. Oliver Russell on August 13, 2018 2:10 pm

      Manually installing and configuring PHPmyadmin on a server is quite difficult. Why not go with a PHP cloud hosting provider, like Cloudways, where PHPMyAdmin is available by default. There is no need to install or configure it manually.

      Reply

    Leave A Reply Cancel Reply

    Recent Posts
    • Filesystem Hierarchy Structure (FHS) in Linux
    • How to accept user input in Python
    • What is difference between var, let and const in JavaScript?
    • What is CPU? – Definition, Types and Parts
    • What is the /etc/aliases file
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.