{"id":2921,"date":"2022-10-10T17:20:38","date_gmt":"2022-10-10T17:20:38","guid":{"rendered":"https:\/\/www.webhi.com\/how-to\/?p=2921"},"modified":"2022-10-10T17:20:41","modified_gmt":"2022-10-10T17:20:41","slug":"install-and-secure-phpmyadmin-on-centos-7-6-or-red-hat","status":"publish","type":"post","link":"https:\/\/www.webhi.com\/how-to\/install-and-secure-phpmyadmin-on-centos-7-6-or-red-hat\/","title":{"rendered":"Install and Secure PhpMyAdmin on CentOS 7\/6 or Red Hat"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1200\" height=\"675\" src=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/10\/phpMyAdmin_centos_en.jpg\" alt=\"Install PhpMyAdmin on CentOS 7\/6 or Red Hat RHEL\" class=\"wp-image-2965\" srcset=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/10\/phpMyAdmin_centos_en.jpg 1200w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/10\/phpMyAdmin_centos_en-300x169.jpg 300w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/10\/phpMyAdmin_centos_en-1024x576.jpg 1024w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/10\/phpMyAdmin_centos_en-768x432.jpg 768w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/10\/phpMyAdmin_centos_en-150x84.jpg 150w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"introduction\">Introduction<\/h3>\n\n\n\n<p>Although many users require a database management system like MySQL&#8217;s functionality, they might not feel at ease interacting with the system only through the MySQL command line client.<\/p>\n\n\n\n<p>To enable user interaction with MySQL via a web interface, <a href=\"https:\/\/www.phpmyadmin.net\/\" target=\"_blank\" rel=\"noreferrer noopener\">PhpMyAdmin<\/a> was developed. We&#8217;ll go over installing and securing PhpMyAdmin in this guide, so you can use it to manage your databases on a  CentOS system without risk.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Basic requirements<\/h2>\n\n\n\n<ul><li>CentOS or RHEL server with a non-root administrative user with sudo privileges.<\/li><li>LAMP stack installed on your server. You can follow this guide on\u00a0<a href=\"https:\/\/www.webhi.com\/how-to\/installation-of-apache-mysql-php-lamp-on-centos-rhel\/\" target=\"_blank\" rel=\"noreferrer noopener\">installing a LAMP stack<\/a>\u00a0to set this up.<\/li><\/ul>\n\n\n\n<p>Finally, while utilizing software like PhpMyAdmin, there are essential security issues to be aware of because it:<\/p>\n\n\n\n<ul><li>Communicates with your MySQL installation directly.<\/li><li>Handles MySQL authentication.<\/li><li>Executes and returns the results of any SQL query.<\/li><\/ul>\n\n\n\n<p>For these reasons, as well as the fact that PhpMyAdmin is a widely deployed PHP application that is routinely targeted for attack, you should never execute it on remote computers through a plain HTTP connection. If you do not already have a domain established with an SSL\/TLS certificate, you may use this method to create one,&nbsp;<a href=\"https:\/\/www.webhi.com\/how-to\/how-to-secure-apache-with-lets-encrypt-on-ubuntu-debian\/\" target=\"_blank\" rel=\"noreferrer noopener\">securing Apache with Let\u2019s Encrypt on Ubuntu<\/a>.<\/p>\n\n\n\n<p>Once you&#8217;ve completed these steps, you&#8217;re prepared to start this guide.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: PhpMyAdmin Installation<\/h2>\n\n\n\n<p>To begin, we will install PhpMyAdmin from the distro default repository.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo yum install epel-release<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo yum install phpmyadmin<\/code><\/pre>\n\n\n\n<p>The installation procedure places the phpMyAdmin Apache configuration file in the <kbd>\/etc\/httpd\/conf.d\/<\/kbd> directory, where it is immediately read.<\/p>\n\n\n\n<p>Restart Apache:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo systemctl restart httpd.service<\/code><\/pre>\n\n\n\n<p>With that, our phpMyAdmin installation is complete. In your web browser, navigate to your server&#8217;s domain name or public IP address followed by <kbd>\/phpMyAdmin<\/kbd>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">http:\/\/server_IP\/phpMyAdmin<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"535\" height=\"477\" src=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/10\/phpmyadmin.png\" alt=\"phpmyadmin web interface\" class=\"wp-image-2893\" srcset=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/10\/phpmyadmin.png 535w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/10\/phpmyadmin-300x267.png 300w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/10\/phpmyadmin-150x134.png 150w\" sizes=\"(max-width: 535px) 100vw, 535px\" \/><\/figure><\/div>\n\n\n<p>Log in to the interface as root or using another username and password.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Secure your phpMyAdmin Instance<\/h2>\n\n\n\n<p>At this point, the phpMyAdmin instance installed on our server should be fully functional. We have, however, exposed our MySQL system to the outside world by adding a web interface.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Changing the Application&#8217;s Access URL<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo nano \/etc\/httpd\/conf.d\/phpMyAdmin.conf<\/code><\/pre>\n\n\n\n<p>Toward the top of the file, you will see two lines that look like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Alias \/phpMyAdmin \/usr\/share\/phpMyAdmin\nAlias \/phpmyadmin \/usr\/share\/phpMyAdmin<\/pre>\n\n\n\n<p>These two lines are our aliases, which means that whenever we access our site&#8217;s domain name or IP address, followed by either <kbd>\/phpMyAdmin<\/kbd> or <kbd>\/phpmyadmin<\/kbd>, we will be sent the content at <kbd>\/usr\/share\/phpMyAdmin<\/kbd>.<\/p>\n\n\n\n<p>To apply our desired modifications, we should delete or comment out the existing lines and replace them with our own:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># Alias \/phpMyAdmin \/usr\/share\/phpMyAdmin\n# Alias \/phpmyadmin \/usr\/share\/phpMyAdmin\nAlias <mark style=\"background-color:#abb8c3\" class=\"has-inline-color\">\/secretpage<\/mark> \/usr\/share\/phpMyAdmin<\/pre>\n\n\n\n<p>To implement the changes, restart the web service:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo systemctl restart httpd.service<\/code><\/pre>\n\n\n\n<p>If you go back to the former location of your phpMyAdmin installation, you will get the 404 error.<\/p>\n\n\n\n<p>Your phpMyAdmin interface, on the other hand, will be available at the new site we chose:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">http:\/\/server_IP\/secretpage<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Setting up an Authentication  to the Web Server :<\/h4>\n\n\n\n<p>The next feature we want for our installation was an authentication prompt that a user would have to pass before they could access the phpMyAdmin login screen.<\/p>\n\n\n\n<p>Open your config file and add <kbd>AllowOverride All<\/kbd> in <kbd>&lt;Directory \/usr\/share\/phpmyadmin&gt;<\/kbd><\/p>\n\n\n\n<p><strong>CentOS<\/strong>: <kbd>\/etc\/httpd\/conf.d\/phpMyAdmin.conf<\/kbd><\/p>\n\n\n\n<pre title=\"Output\" class=\"wp-block-code\"><code lang=\"apacheconf\" class=\"language-apacheconf\">&lt;Directory \/usr\/share\/phpmyadmin&gt;\n    Options SymLinksIfOwnerMatch\n    DirectoryIndex index.php\n    AllowOverride All\n    . . .<\/code><\/pre>\n\n\n\n<p>And Restart Apache<\/p>\n\n\n\n<p>Now that you&#8217;ve enabled the use of.htaccess files for your application, you&#8217;ll need to make one to create&nbsp;security rules&nbsp;in place.<\/p>\n\n\n\n<p>Create the file in PhpMyAdmin folder:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo nano \/usr\/share\/phpmyadmin\/.htaccess<\/code><\/pre>\n\n\n\n<p>Add the following lines:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">AuthType Basic\nAuthName \"Restricted Files\"\nAuthUserFile \/etc\/phpmyadmin\/.htpasswd\nRequire valid-user<\/pre>\n\n\n\n<p>Save and close the file when you&#8217;re finished.<\/p>\n\n\n\n<p>You chose <kbd>\/etc\/phpmyadmin\/.htpasswd<\/kbd> as the location for your password file. You can now use the <kbd>htpasswd<\/kbd> software to create this file and assign it an initial user:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo htpasswd -c \/etc\/phpmyadmin\/.htpasswd username<\/code><\/pre>\n\n\n\n<p>then enter and confirm a password for the user you are creating.<\/p>\n\n\n\n<p>If you wish to add another user, use the following syntax without the <code>-c<\/code> flag:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo htpasswd \/etc\/phpmyadmin\/.htpasswd newuser<\/code><\/pre>\n\n\n\n<p>Then restart Apache to enable <kbd>.htaccess<\/kbd> authentication.<\/p>\n\n\n\n<p>When you enter your phpMyAdmin subdirectory, you will be prompted for the newly established account name and password:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">http:\/\/server_IP\/secretpage\n<\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"318\" height=\"221\" src=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/10\/htaccess.png\" alt=\"htaccess phpmyadmin\" class=\"wp-image-2916\" srcset=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/10\/htaccess.png 318w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/10\/htaccess-300x208.png 300w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/10\/htaccess-150x104.png 150w\" sizes=\"(max-width: 318px) 100vw, 318px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p>PhpMyAdmin should now be installed and ready to use on your server. You may use this interface to create databases, users, and tables, as well as execute standard operations such as deleting and altering structures and data.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Although many users require a database management system like MySQL&#8217;s functionality, they might not feel at ease interacting with the system only through the MySQL command line client. To enable user interaction with MySQL via a web interface, PhpMyAdmin was developed. We&#8217;ll go over installing and securing PhpMyAdmin in this guide, so you can ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/www.webhi.com\/how-to\/install-and-secure-phpmyadmin-on-centos-7-6-or-red-hat\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[57,3],"tags":[],"yoast_head":"\n<title>Install and Secure PhpMyAdmin on CentOS 7\/6 or Red Hat - WebHi Tutorials &amp; Documentations<\/title>\n<meta name=\"description\" content=\"We&#039;ll go over installing and securing PhpMyAdmin in this guide, so you can use it to manage your databases on a CentOS system without risk.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webhi.com\/how-to\/install-and-secure-phpmyadmin-on-centos-7-6-or-red-hat\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install and Secure PhpMyAdmin on CentOS 7\/6 or Red Hat - WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"og:description\" content=\"We&#039;ll go over installing and securing PhpMyAdmin in this guide, so you can use it to manage your databases on a CentOS system without risk.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webhi.com\/how-to\/install-and-secure-phpmyadmin-on-centos-7-6-or-red-hat\/\" \/>\n<meta property=\"og:site_name\" content=\"WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webhi.technology\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-10T17:20:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-10-10T17:20:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/10\/phpMyAdmin_centos_en.jpg\" \/>\n<meta name=\"author\" content=\"webhi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:site\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"webhi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/install-and-secure-phpmyadmin-on-centos-7-6-or-red-hat\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/install-and-secure-phpmyadmin-on-centos-7-6-or-red-hat\/\"},\"author\":{\"name\":\"webhi\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\"},\"headline\":\"Install and Secure PhpMyAdmin on CentOS 7\/6 or Red Hat\",\"datePublished\":\"2022-10-10T17:20:38+00:00\",\"dateModified\":\"2022-10-10T17:20:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/install-and-secure-phpmyadmin-on-centos-7-6-or-red-hat\/\"},\"wordCount\":668,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"articleSection\":[\"Databases\",\"Security\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/install-and-secure-phpmyadmin-on-centos-7-6-or-red-hat\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/install-and-secure-phpmyadmin-on-centos-7-6-or-red-hat\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/install-and-secure-phpmyadmin-on-centos-7-6-or-red-hat\/\",\"name\":\"Install and Secure PhpMyAdmin on CentOS 7\/6 or Red Hat - WebHi Tutorials &amp; Documentations\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\"},\"datePublished\":\"2022-10-10T17:20:38+00:00\",\"dateModified\":\"2022-10-10T17:20:41+00:00\",\"description\":\"We'll go over installing and securing PhpMyAdmin in this guide, so you can use it to manage your databases on a CentOS system without risk.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/install-and-secure-phpmyadmin-on-centos-7-6-or-red-hat\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/install-and-secure-phpmyadmin-on-centos-7-6-or-red-hat\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/install-and-secure-phpmyadmin-on-centos-7-6-or-red-hat\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webhi.com\/how-to\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install and Secure PhpMyAdmin on CentOS 7\/6 or Red Hat\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"name\":\"WebHi Tutorials &amp; Documentations\",\"description\":\"System administration and knowledge base\",\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\",\"name\":\"WebHi Technology\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"width\":288,\"height\":95,\"caption\":\"WebHi Technology\"},\"image\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webhi.technology\",\"https:\/\/twitter.com\/WebHiTechnology\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\",\"name\":\"webhi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063\",\"caption\":\"webhi\"},\"sameAs\":[\"https:\/\/www.webhi.com\/how-to\"],\"url\":\"https:\/\/www.webhi.com\/how-to\/author\/webhi\/\"}]}<\/script>\n","yoast_head_json":{"title":"Install and Secure PhpMyAdmin on CentOS 7\/6 or Red Hat - WebHi Tutorials &amp; Documentations","description":"We'll go over installing and securing PhpMyAdmin in this guide, so you can use it to manage your databases on a CentOS system without risk.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.webhi.com\/how-to\/install-and-secure-phpmyadmin-on-centos-7-6-or-red-hat\/","og_locale":"en_US","og_type":"article","og_title":"Install and Secure PhpMyAdmin on CentOS 7\/6 or Red Hat - WebHi Tutorials &amp; Documentations","og_description":"We'll go over installing and securing PhpMyAdmin in this guide, so you can use it to manage your databases on a CentOS system without risk.","og_url":"https:\/\/www.webhi.com\/how-to\/install-and-secure-phpmyadmin-on-centos-7-6-or-red-hat\/","og_site_name":"WebHi Tutorials &amp; Documentations","article_publisher":"https:\/\/www.facebook.com\/webhi.technology","article_published_time":"2022-10-10T17:20:38+00:00","article_modified_time":"2022-10-10T17:20:41+00:00","og_image":[{"url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/10\/phpMyAdmin_centos_en.jpg"}],"author":"webhi","twitter_card":"summary_large_image","twitter_creator":"@WebHiTechnology","twitter_site":"@WebHiTechnology","twitter_misc":{"Written by":"webhi","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.webhi.com\/how-to\/install-and-secure-phpmyadmin-on-centos-7-6-or-red-hat\/#article","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/install-and-secure-phpmyadmin-on-centos-7-6-or-red-hat\/"},"author":{"name":"webhi","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54"},"headline":"Install and Secure PhpMyAdmin on CentOS 7\/6 or Red Hat","datePublished":"2022-10-10T17:20:38+00:00","dateModified":"2022-10-10T17:20:41+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webhi.com\/how-to\/install-and-secure-phpmyadmin-on-centos-7-6-or-red-hat\/"},"wordCount":668,"commentCount":0,"publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"articleSection":["Databases","Security"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webhi.com\/how-to\/install-and-secure-phpmyadmin-on-centos-7-6-or-red-hat\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webhi.com\/how-to\/install-and-secure-phpmyadmin-on-centos-7-6-or-red-hat\/","url":"https:\/\/www.webhi.com\/how-to\/install-and-secure-phpmyadmin-on-centos-7-6-or-red-hat\/","name":"Install and Secure PhpMyAdmin on CentOS 7\/6 or Red Hat - WebHi Tutorials &amp; Documentations","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/#website"},"datePublished":"2022-10-10T17:20:38+00:00","dateModified":"2022-10-10T17:20:41+00:00","description":"We'll go over installing and securing PhpMyAdmin in this guide, so you can use it to manage your databases on a CentOS system without risk.","breadcrumb":{"@id":"https:\/\/www.webhi.com\/how-to\/install-and-secure-phpmyadmin-on-centos-7-6-or-red-hat\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webhi.com\/how-to\/install-and-secure-phpmyadmin-on-centos-7-6-or-red-hat\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.webhi.com\/how-to\/install-and-secure-phpmyadmin-on-centos-7-6-or-red-hat\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webhi.com\/how-to\/"},{"@type":"ListItem","position":2,"name":"Install and Secure PhpMyAdmin on CentOS 7\/6 or Red Hat"}]},{"@type":"WebSite","@id":"https:\/\/www.webhi.com\/how-to\/#website","url":"https:\/\/www.webhi.com\/how-to\/","name":"WebHi Tutorials &amp; Documentations","description":"System administration and knowledge base","publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webhi.com\/how-to\/#organization","name":"WebHi Technology","url":"https:\/\/www.webhi.com\/how-to\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/","url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","contentUrl":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","width":288,"height":95,"caption":"WebHi Technology"},"image":{"@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webhi.technology","https:\/\/twitter.com\/WebHiTechnology"]},{"@type":"Person","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54","name":"webhi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/","url":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063","contentUrl":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063","caption":"webhi"},"sameAs":["https:\/\/www.webhi.com\/how-to"],"url":"https:\/\/www.webhi.com\/how-to\/author\/webhi\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/2921"}],"collection":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/comments?post=2921"}],"version-history":[{"count":4,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/2921\/revisions"}],"predecessor-version":[{"id":2979,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/2921\/revisions\/2979"}],"wp:attachment":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/media?parent=2921"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/categories?post=2921"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/tags?post=2921"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}