{"id":4477,"date":"2026-01-12T13:31:02","date_gmt":"2026-01-12T10:31:02","guid":{"rendered":"https:\/\/computingforgeeks.com\/?p=4477"},"modified":"2026-03-22T03:58:51","modified_gmt":"2026-03-22T00:58:51","slug":"install-and-configure-phpmyadmin-on-fedora","status":"publish","type":"post","link":"https:\/\/computingforgeeks.com\/install-and-configure-phpmyadmin-on-fedora\/","title":{"rendered":"How To Install phpMyAdmin on Fedora 43\/42\/41\/40"},"content":{"rendered":"\n<p>In this guide, we will look at how to install phpMyAdmin on Fedora Linux system. PHPMyAdmin is an open source software tool written in PHP, intended to handle the administration of MySQL over the Web interface.<\/p>\n\n\n\n<p>phpMyAdmin has support for a wide range of operations on MySQL, MariaDB, and Drizzle. It is often used to perform common Database operations (managing databases, tables, columns, relations, indexes, users, permissions, etc) through an intuitive and easy to use web&nbsp;interface. phpMyAdmin is installable on most major distributions of Linux, Windows systems, and on macOS.<\/p>\n\n\n\n<p>Follow the steps below to Install phpMyAdmin on Fedora Linux system.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install PHP and Apache web server<\/h2>\n\n\n\n<p>Apache HTTP server and PHP are required dependencies for&nbsp;phpMyAdmin. Install them first:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf -y install httpd php php-cli php-php-gettext php-mbstring php-mcrypt php-mysqlnd php-pear php-curl php-gd php-xml php-bcmath php-zip<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Configure httpd basic settings:<\/h4>\n\n\n\n<p>Edit the configuration file&nbsp;<code>\/etc\/httpd\/conf\/httpd.conf<\/code>&nbsp;and set: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ServerAdmin admin@example.com\nServerName  example.com\nServerTokens Prod<\/code><\/pre>\n\n\n\n<p>You can optionally set Keepalive:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>KeepAlive On<\/code><\/pre>\n\n\n\n<p>Enable and start&nbsp;<code>httpd<\/code>&nbsp;service:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl start httpd\nsudo systemctl enable httpd<\/code><\/pre>\n\n\n\n<p>If you have firewalld running, allow both&nbsp;<code>http<\/code>&nbsp;and&nbsp;<code>https<\/code>&nbsp;services:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo firewall-cmd --add-service={http,https} --permanent\nsudo firewall-cmd --reload<\/code><\/pre>\n\n\n\n<p>Confirm your installed PHP version:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-pale-pink-color\">php -v<\/mark>\nPHP 8.4.7 (cli) (built: May  6 2025 12:31:58) (NTS gcc x86_64)\nCopyright (c) The PHP Group\nBuilt by Fedora Project\nZend Engine v4.4.7, Copyright (c) Zend Technologies\n    with Zend OPcache v8.4.7, Copyright (c), by Zend Technologies<\/code><\/pre>\n\n\n\n<p>Loaded extensions can be viewed by passing&nbsp;<code>-m<\/code>&nbsp;option to the&nbsp;<code>php<\/code>command\n<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php -m<\/code><\/pre>\n\n\n\n<p>Set PHP timezone on the file&nbsp;<code>\/etc\/php.ini<\/code>\n<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>date.timezone = <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">Africa\/Nairobi<\/mark><\/code><\/pre>\n\n\n\n<p>See a complete&nbsp;List of&nbsp;<a href=\"https:\/\/php.net\/manual\/en\/timezones.php\" target=\"_blank\" rel=\"noopener noreferrer\">Supported Timezones<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install phpMyAdmin on Fedora<\/h2>\n\n\n\n<p>After PHP and Apache have been installed, you can install phpMyAdmin on Fedora .<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf -y install phpMyAdmin<\/code><\/pre>\n\n\n\n<p>Check the version of phpMyAdmin installed on your Fedora.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-pale-pink-color\">rpm -qi phpMyAdmin<\/mark>\nName        : phpMyAdmin\nVersion     : 5.2.2\nRelease     : 1.fc42\nArchitecture: noarch\nInstall Date: Tue 20 May 2025 02:09:58 PM EAT\nGroup       : Unspecified\nSize        : 55211038\nLicense     : GPL-2.0-or-later AND MIT AND BSD-2-Clause AND BSD-3-Clause AND LGPL-3.0-or-later AND MPL-2.0 AND ISC\nSignature   : RSA\/SHA256, Wed 22 Jan 2025 09:51:18 AM EAT, Key ID c8ac4916105ef944\nSource RPM  : phpMyAdmin-5.2.2-1.fc42.src.rpm\nBuild Date  : Wed 22 Jan 2025 09:48:37 AM EAT\nBuild Host  : buildvm-ppc64le-20.iad2.fedoraproject.org\nPackager    : Fedora Project\nVendor      : Fedora Project\nURL         : https:\/\/www.phpmyadmin.net\/\nBug URL     : https:\/\/bugz.fedoraproject.org\/phpMyAdmin\nSummary     : A web interface for MySQL and MariaDB\n....<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Limiting access to phpMyAdmin from known networks<\/h3>\n\n\n\n<p>Limit access to&nbsp;phpMyAdmin to your only trusted networks <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo vi&nbsp;\/etc\/httpd\/conf.d\/phpMyAdmin.conf<\/code><\/pre>\n\n\n\n<p>Edit the <code>Require ip<\/code>&nbsp;lines &#8211; both on&nbsp;<strong>Line&nbsp;17 and 34&nbsp;<\/strong>of the file.\n<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><em><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\"># Add your local subnet\n<\/mark><\/em>Require ip 127.0.0.1 192.168.18.0\/24<\/code><\/pre>\n\n\n\n<p>Save the changes and restart <code>httpd<\/code>&nbsp;service\n<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl restart httpd<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Access phpMyAdmin web dashboard<\/h2>\n\n\n\n<p>Access&nbsp; <code>[http:\/\/(your hostname or IP address)\/phpmyadmin\/]<\/code>&nbsp;from your favorite web browser and network whitelisted.<\/p>\n\n\n\n<figure class=\"wp-block-image td-caption-align-https:\/\/computingforgeeks.com\/wp-content\/uploads\/2018\/11\/install-phpmyadmin-fedora-29-fedora-28-login-page-e1548631025251.png\"><a href=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2018\/11\/install-phpmyadmin-fedora-29-fedora-28-login-page.png\"><img decoding=\"async\" src=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2018\/11\/install-phpmyadmin-fedora-29-fedora-28-login-page.png\" alt=\"\" class=\"wp-image-4480\" title=\"\"><\/a><\/figure>\n\n\n\n<p>Login with your Database user to start administering database operations from phpMyAdmin web interface.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Change&nbsp;Authentication Plugin for MySQL 8.0<\/h2>\n\n\n\n<p>To be able to authenticate to MySQL 8.0, login to MySQL CLI and change&nbsp; Authentication Plugin. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ <span class=\"has-inline-color has-pale-pink-color\">mysql -u root -p<\/span>\nEnter password: \nWelcome to the MySQL monitor.  Commands end with ; or \\g.\nYour MySQL connection id is 26\nServer version: 8.0.13 MySQL Community Server - GPL\n\nCopyright (c) 2000, 2018, Oracle and\/or its affiliates. All rights reserved.\n\nOracle is a registered trademark of Oracle Corporation and\/or its\naffiliates. Other names may be trademarks of their respective\nowners.\n\nType 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.\n\nmysql&gt; <span class=\"has-inline-color has-vivid-purple-color\">ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'ph\/axo&gt;vJe;789';<\/span>\nQuery OK, 0 rows affected (0.11 sec)\n\nmysql&gt; <span class=\"has-inline-color has-vivid-purple-color\">QUIT<\/span>\nBye<\/code><\/pre>\n\n\n\n<p>Enjoy administering your MySQL or MariaDB database server with phpMyAdmin.<\/p>\n\n\n\n<p><strong><em>Recommended books to read:<\/em><\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/computingforgeeks.com\/best-books-to-learn-magento-ecommerce-development\/\" target=\"_blank\" rel=\"noreferrer noopener\">Best Books to learn Web Development &#8211; PHP, HTML, CSS, JavaScript and jQuery<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/computingforgeeks.com\/best-books-to-master-web-design\/\" target=\"_blank\" rel=\"noreferrer noopener\">Best Books To Master Web Design<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/computingforgeeks.com\/best-books-to-learn-css-css3\/\" target=\"_blank\" rel=\"noreferrer noopener\">Best Books To Learn CSS &amp; CSS3<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/computingforgeeks.com\/best-books-to-learn-html-html5\/\" target=\"_blank\" rel=\"noreferrer noopener\">Best Books To Learn HTML &amp; HTML5<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/computingforgeeks.com\/best-books-to-learn-kafka-and-apache-spark\/\" target=\"_blank\" rel=\"noreferrer noopener\">Best Apache and Nginx reference Books<\/a><\/li>\n<\/ul>\n\n\n\n<p>Don\u2019t forget to check other Fedora articles available on our website.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/computingforgeeks.com\/install-tomcat-rocky-almalinux-fedora\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Install Apache Tomcat on CentOS 7 \/ Fedora<\/a><\/li>\n\n\n\n<li><a aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\" href=\"https:\/\/computingforgeeks.com\/how-to-install-docker-on-fedora\/\" target=\"_blank\">How to install Docker on Fedora<\/a><\/li>\n\n\n\n<li><a aria-label=\" (opens in a new tab)\" href=\"https:\/\/computingforgeeks.com\/how-to-install-lamp-stack-on-fedora\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to install LAMP Stack on Fedora<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/computingforgeeks.com\/how-to-install-django-on-fedora\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Install Django on Fedora<\/a><\/li>\n\n\n\n<li><a aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\" href=\"https:\/\/computingforgeeks.com\/how-to-install-postgresql-on-fedora\/\" target=\"_blank\">How to install PostgreSQL 11 on Fedora<\/a><\/li>\n\n\n\n<li><a aria-label=\" (opens in a new tab)\" href=\"https:\/\/computingforgeeks.com\/how-to-install-mysql-8-on-fedora\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to install MySQL 8.0 on Fedora<\/a><\/li>\n<\/ul>\n\n","protected":false},"excerpt":{"rendered":"<p>In this guide, we will look at how to install phpMyAdmin on Fedora Linux system. PHPMyAdmin is an open source software tool written in PHP, intended to handle the administration of MySQL over the Web interface. phpMyAdmin has support for a wide range of operations on MySQL, MariaDB, and Drizzle. It is often used to &#8230; <a title=\"How To Install phpMyAdmin on Fedora 43\/42\/41\/40\" class=\"read-more\" href=\"https:\/\/computingforgeeks.com\/install-and-configure-phpmyadmin-on-fedora\/\" aria-label=\"Read more about How To Install phpMyAdmin on Fedora 43\/42\/41\/40\">Read more<\/a><\/p>\n","protected":false},"author":3,"featured_media":160126,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[461,29,299,50],"tags":[279,323,191,689],"cfg_series":[],"class_list":["post-4477","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-databases","category-fedora","category-how-to","category-linux-tutorials","tag-mariadb","tag-mysql","tag-php","tag-phpmyadmin"],"_links":{"self":[{"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/posts\/4477","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/comments?post=4477"}],"version-history":[{"count":6,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/posts\/4477\/revisions"}],"predecessor-version":[{"id":163486,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/posts\/4477\/revisions\/163486"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/media\/160126"}],"wp:attachment":[{"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/media?parent=4477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/categories?post=4477"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/tags?post=4477"},{"taxonomy":"cfg_series","embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/cfg_series?post=4477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}