{"id":3572,"date":"2022-12-05T06:38:35","date_gmt":"2022-12-05T06:38:35","guid":{"rendered":"https:\/\/hostzop.com\/knowledge\/?post_type=manual_kb&#038;p=3572"},"modified":"2023-02-01T07:48:25","modified_gmt":"2023-02-01T07:48:25","slug":"how-to-set-up-and-secure-phpmyadmin-on-a-centos-7-server-using-apache","status":"publish","type":"manual_kb","link":"https:\/\/www.hostzop.com\/knowledge\/knowledgebase\/how-to-set-up-and-secure-phpmyadmin-on-a-centos-7-server-using-apache\/","title":{"rendered":"How to Set Up and Secure phpMyAdmin on a CentOS 7 Server Using Apache"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"3572\" class=\"elementor elementor-3572\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-501c1c0 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"501c1c0\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5e3a632\" data-id=\"5e3a632\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-53d3118 elementor-widget elementor-widget-heading\" data-id=\"53d3118\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<span class=\"elementor-heading-title elementor-size-medium\">Introduction<\/span>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7773f0e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7773f0e\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9b8d142\" data-id=\"9b8d142\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0e6ff87 elementor-widget elementor-widget-text-editor\" data-id=\"0e6ff87\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>A sizable percentage of websites and applications use relational database management systems like MySQL and MariaDB. While using the command line to manage their data may not be comfortable for all people.<\/p><p>In order to provide a solution in the form of a web-based management interface, a project named phpMyAdmin was developed. We&#8217;ll show you how to set up and secure a phpMyAdmin configuration on a CentOS 7 server in this tutorial. The most widely used web server in the world, Apache, will serve as the foundation for this setup.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-249676a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"249676a\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-800d39b\" data-id=\"800d39b\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f90272b elementor-widget elementor-widget-heading\" data-id=\"f90272b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<span class=\"elementor-heading-title elementor-size-medium\">Prerequisites<\/span>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-cee0455 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"cee0455\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8de5e08\" data-id=\"8de5e08\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c121fb0 elementor-widget elementor-widget-text-editor\" data-id=\"c121fb0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li><p>\u2022 Logged in as a user with sudo privileges .<br \/><b>\u2022<\/b> Installing a LAMP stack on your CentOS 7 server\u2014Linux, Apache, MariaDB, and PHP\u2014is the second need that must be met before beginning this instruction. This is the system we&#8217;ll employ to provide our phpMyAdmin interface (MariaDB is also the database management software that we are wishing to manage).<br \/>\u2022 You can read the remainder of this page if you&#8217;ve followed these instructions and got your server up and running<\/p><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1a952da elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1a952da\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-160c277\" data-id=\"160c277\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-acd6af4 elementor-widget elementor-widget-heading\" data-id=\"acd6af4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<span class=\"elementor-heading-title elementor-size-medium\">Step :1  Install phpMyAdmin<\/span>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8f79a08 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8f79a08\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c54c5c0\" data-id=\"c54c5c0\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-85b2c99 elementor-widget elementor-widget-text-editor\" data-id=\"85b2c99\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The phpMyAdmin software installation may start right immediately because our LAMP platform is already set up. Unfortunately, CentOS 7&#8217;s default repository does not have phpMyAdmin.<\/p><p>We will have to add an additional repository to our system in order to receive the packages we require. The phpMyAdmin package we need can be found in the EPEL repo (Extra Packages for Enterprise Linux), among many other packages.<\/p><p>Installing the <strong>epel-release<\/strong> package will enable your server to access the EPEL repository. Your repository list will be updated as a result, and you&#8217;ll have access to the EPEL packages.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f95341f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f95341f\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-47f51e5\" data-id=\"47f51e5\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ba9d748 elementor-widget elementor-widget-heading\" data-id=\"ba9d748\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<span class=\"elementor-heading-title elementor-size-default\"># sudo yum install epel-release<\/span>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5e368c1 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5e368c1\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-33fa1b0\" data-id=\"33fa1b0\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d2ca017 elementor-widget elementor-widget-text-editor\" data-id=\"d2ca017\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Once the EPEL repo is set up, you can use the<strong> yum<\/strong> packaging system to install the phpMyAdmin package by typing:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-bb57143 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"bb57143\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-823dc50\" data-id=\"823dc50\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2304423 elementor-widget elementor-widget-heading\" data-id=\"2304423\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<span class=\"elementor-heading-title elementor-size-default\"> # sudo yum install phpmyadmin<\/span>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-88c49f1 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"88c49f1\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-dfd9e54\" data-id=\"dfd9e54\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e26cc56 elementor-widget elementor-widget-text-editor\" data-id=\"e26cc56\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Now the installation is finished. An Apache configuration file that has already been set up was provided in the installation. To make this work properly for our installation, we will need to make a few modifications.<\/p><p>Now that the file is open in your text editor, let&#8217;s make some changes:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-689fcd6 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"689fcd6\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-440ca7d\" data-id=\"440ca7d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-09afe64 elementor-widget elementor-widget-heading\" data-id=\"09afe64\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<span class=\"elementor-heading-title elementor-size-default\"># sudo vi \/etc\/httpd\/conf.d\/phpMyAdmin.conf<\/span>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a4ee02a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a4ee02a\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d32d8c5\" data-id=\"d32d8c5\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-065160e elementor-widget elementor-widget-text-editor\" data-id=\"065160e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>To describe the access policy for our directory, we can see several directory blocks within with some conditional logic. There are two defined directories that include settings that are appropriate for both Apache 2.2 and Apache 2.4. (which we are running).<\/p><p>This configuration currently forbids access to any connection that is not coming from the server. We need to change a few lines to give the IP address of your home connection because we&#8217;re working on our server remotely.<\/p><p>Any lines that say <strong>Require ip 127.0.0.1<\/strong> or Allow from <strong>127.0.0.1<\/strong> should be changed to refer to the IP address of your home connection. Check out the next section if you need assistance locating the IP address of your home connection. The file should need to be modified in the following four places:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a9ec1b3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a9ec1b3\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f3c5d7a\" data-id=\"f3c5d7a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-8cb5bde elementor-widget elementor-widget-text-editor\" data-id=\"8cb5bde\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><strong>. . .<\/strong><br \/><strong>Require ip your_workstation_IP_address<\/strong><br \/><strong>. . .<\/strong><br \/><strong>Allow from your_workstation_IP_address<\/strong><br \/><strong>. . .<\/strong><br \/><strong>Require ip your_workstation_IP_address<\/strong><br \/><strong>. . .<\/strong><br \/><strong>Allow from your_workstation_IP_address<\/strong><br \/><strong>. . .<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0543718 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0543718\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6d4e93a\" data-id=\"6d4e93a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4f7b264 elementor-widget elementor-widget-text-editor\" data-id=\"4f7b264\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>When finished, type: to restart the Apache web server and apply your changes.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d99e4f5 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d99e4f5\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e76d700\" data-id=\"e76d700\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ff30e58 elementor-widget elementor-widget-heading\" data-id=\"ff30e58\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<span class=\"elementor-heading-title elementor-size-default\">sudo systemctl restart httpd.service<\/span>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9cecefe elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9cecefe\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1ca0dd2\" data-id=\"1ca0dd2\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f59584e elementor-widget elementor-widget-text-editor\" data-id=\"f59584e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Our phpMyAdmin installation is now operating as a result. Use your web browser to navigate to your server&#8217;s domain name or public IP address followed by<strong> \/phpMyAdmin <\/strong>to enter the interface:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d1d4719 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d1d4719\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-465a05b\" data-id=\"465a05b\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-73badbc elementor-widget elementor-widget-heading\" data-id=\"73badbc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<span class=\"elementor-heading-title elementor-size-default\">http:\/\/server_domain_or_IP\/phpMyAdmin<\/span>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8d006be elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8d006be\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ed025e4\" data-id=\"ed025e4\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c0b4914 elementor-widget elementor-widget-image\" data-id=\"c0b4914\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"483\" height=\"508\" src=\"https:\/\/www.hostzop.com\/knowledge\/wp-content\/uploads\/2022\/12\/login.png\" class=\"attachment-large size-large wp-image-3575\" alt=\"\" srcset=\"https:\/\/www.hostzop.com\/knowledge\/wp-content\/uploads\/2022\/12\/login.png 483w, https:\/\/www.hostzop.com\/knowledge\/wp-content\/uploads\/2022\/12\/login-285x300.png 285w\" sizes=\"(max-width: 483px) 100vw, 483px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-40d9554 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"40d9554\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-3eedebd\" data-id=\"3eedebd\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-dbacd94 elementor-widget elementor-widget-text-editor\" data-id=\"dbacd94\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Use a valid MariaDB user&#8217;s username and password to log in. A decent place to start is with the <strong>root <\/strong>user and the MariaDB administrator password. After that, you will have access to the administration interface:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6555884 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6555884\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ee6df22\" data-id=\"ee6df22\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-38dac56 elementor-widget elementor-widget-image\" data-id=\"38dac56\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"700\" height=\"350\" src=\"https:\/\/www.hostzop.com\/knowledge\/wp-content\/uploads\/2022\/12\/main_page.png\" class=\"attachment-large size-large wp-image-3576\" alt=\"\" srcset=\"https:\/\/www.hostzop.com\/knowledge\/wp-content\/uploads\/2022\/12\/main_page.png 715w, https:\/\/www.hostzop.com\/knowledge\/wp-content\/uploads\/2022\/12\/main_page-300x150.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9573b75 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9573b75\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7ac6821\" data-id=\"7ac6821\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d7727e7 elementor-widget elementor-widget-heading\" data-id=\"d7727e7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<span class=\"elementor-heading-title elementor-size-medium\">Step 2: Secure your phpMyAdmin instance.<\/span>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9dd0e08 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9dd0e08\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-683c63a\" data-id=\"683c63a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4879637 elementor-widget elementor-widget-text-editor\" data-id=\"4879637\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>At this point, the phpMyAdmin instance that was installed on our server ought to be fully functional. However, we have made our MySQL system accessible to the public by installing a web interface.<\/p><p>This is a big issue even with the built-in authentication screen. Installations like these are frequent targets for attackers due to the popularity of phpMyAdmin and the vast quantity of data it grants access to.<\/p><p>To reduce the likelihood that our installation may be compromised and targeted, we will put into practise two straightforward measures. To avoid some of the automated bot brute-force attacks, we will move the interface from <strong>\/phpMyAdmin<\/strong> to another site. Additionally, we&#8217;ll build a second, web server-level authentication gateway that needs to be passed in order to access the phpMyAdmin login page.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d93c221 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d93c221\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d17de02\" data-id=\"d17de02\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7e75d8e elementor-widget elementor-widget-heading\" data-id=\"7e75d8e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<span class=\"elementor-heading-title elementor-size-medium\">Changing the Application\u2019s Access Location<\/span>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f3c6238 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f3c6238\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-3765dc4\" data-id=\"3765dc4\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3bae47f elementor-widget elementor-widget-text-editor\" data-id=\"3bae47f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Our phpMyAdmin Apache configuration file uses an alias to route to the directory location of the files in order for our Apache web server to function with phpMyAdmin.<\/p><p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 We just need to rename the alias to change the URL where our phpMyAdmin interface may be accessed. Now, access the Apache configuration file for phpMyAdmin:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6cdd116 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6cdd116\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-60bbabe\" data-id=\"60bbabe\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c752059 elementor-widget elementor-widget-heading\" data-id=\"c752059\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<span class=\"elementor-heading-title elementor-size-default\">sudo nano \/etc\/httpd\/conf.d\/phpMyAdmin.conf<\/span>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e842499 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e842499\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5f8cd68\" data-id=\"5f8cd68\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7d336b9 elementor-widget elementor-widget-text-editor\" data-id=\"7d336b9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>You will see two lines at the top of the file that look like this:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0afae30 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0afae30\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-025f116\" data-id=\"025f116\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d2ff4fb elementor-widget elementor-widget-text-editor\" data-id=\"d2ff4fb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><strong>Alias \/phpMyAdmin \/usr\/share\/phpMyAdmin<\/strong><br \/><strong>Alias \/phpmyadmin \/usr\/share\/phpMyAdmin<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7944ca2 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7944ca2\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ce8e55e\" data-id=\"ce8e55e\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f736c88 elementor-widget elementor-widget-text-editor\" data-id=\"f736c88\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>These two lines function as our aliases, which means that we will be shown the content at <strong>\/usr\/share\/phpMyAdmin<\/strong> if we approach our site using its domain name or IP address followed by either <strong>\/phpMyAdmin<\/strong> or <strong>\/phpmyadmin.<\/strong><\/p><p>Due to the fact that bots and malicious people frequently target certain particular aliases, we want to disable them. We should instead choose our own alias. It should be simple to recall but challenging to guess. It shouldn&#8217;t state what the URL location is for. In this instance, we&#8217;ll use <strong>\/nothingtosee.<\/strong><\/p><p>We should delete or comment out the current lines and add our own to implement the changes we intend:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-bad6d82 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"bad6d82\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4d0a812\" data-id=\"4d0a812\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-9328f8c elementor-widget elementor-widget-text-editor\" data-id=\"9328f8c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><strong># Alias \/phpMyAdmin \/usr\/share\/phpMyAdmin<\/strong><br \/><strong># Alias \/phpmyadmin \/usr\/share\/phpMyAdmin<\/strong><br \/><strong>Alias \/nothingtosee \/usr\/share\/phpMyAdmin<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-24a8969 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"24a8969\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5084509\" data-id=\"5084509\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f95b431 elementor-widget elementor-widget-text-editor\" data-id=\"f95b431\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Save your work and then exit the file.<\/p><p>Restart the web service to apply the changes:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-4beda73 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"4beda73\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-dd3b008\" data-id=\"dd3b008\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-22c0336 elementor-widget elementor-widget-heading\" data-id=\"22c0336\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<span class=\"elementor-heading-title elementor-size-default\">sudo systemctl restart httpd.service<\/span>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1f297ec elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1f297ec\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-70ea400\" data-id=\"70ea400\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-508bd87 elementor-widget elementor-widget-text-editor\" data-id=\"508bd87\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>You will now encounter a 404 error if you attempt to access the former location of your phpMyAdmin installation:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f285d0d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f285d0d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4f36508\" data-id=\"4f36508\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d6aca8d elementor-widget elementor-widget-heading\" data-id=\"d6aca8d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<span class=\"elementor-heading-title elementor-size-default\">http:\/\/server_domain_or_IP\/phpMyAdmin<\/span>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-690cddd elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"690cddd\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0b1582d\" data-id=\"0b1582d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-76fe4e2 elementor-widget elementor-widget-image\" data-id=\"76fe4e2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"418\" height=\"90\" src=\"https:\/\/www.hostzop.com\/knowledge\/wp-content\/uploads\/2022\/12\/output.png\" class=\"attachment-large size-large wp-image-3577\" alt=\"\" srcset=\"https:\/\/www.hostzop.com\/knowledge\/wp-content\/uploads\/2022\/12\/output.png 418w, https:\/\/www.hostzop.com\/knowledge\/wp-content\/uploads\/2022\/12\/output-300x65.png 300w\" sizes=\"(max-width: 418px) 100vw, 418px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b8a4467 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b8a4467\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-108ed26\" data-id=\"108ed26\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-28f05f0 elementor-widget elementor-widget-text-editor\" data-id=\"28f05f0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>However, the new site we chose will now host your phpMyAdmin interface:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1b3994d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1b3994d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a999086\" data-id=\"a999086\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6baab1b elementor-widget elementor-widget-heading\" data-id=\"6baab1b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<span class=\"elementor-heading-title elementor-size-default\">http:\/\/server_domain_or_IP\/nothingtosee<\/span>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-bd8df6a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"bd8df6a\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-682863a\" data-id=\"682863a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b5829b7 elementor-widget elementor-widget-image\" data-id=\"b5829b7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"483\" height=\"508\" src=\"https:\/\/www.hostzop.com\/knowledge\/wp-content\/uploads\/2022\/12\/login.png\" class=\"attachment-large size-large wp-image-3575\" alt=\"\" srcset=\"https:\/\/www.hostzop.com\/knowledge\/wp-content\/uploads\/2022\/12\/login.png 483w, https:\/\/www.hostzop.com\/knowledge\/wp-content\/uploads\/2022\/12\/login-285x300.png 285w\" sizes=\"(max-width: 483px) 100vw, 483px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8c1c46c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8c1c46c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6d7416d\" data-id=\"6d7416d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-dcc0ce7 elementor-widget elementor-widget-heading\" data-id=\"dcc0ce7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<span class=\"elementor-heading-title elementor-size-medium\">A Web Server Authentication Gate's configuration<\/span>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-65c5c2d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"65c5c2d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d27eff6\" data-id=\"d27eff6\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a38ebe2 elementor-widget elementor-widget-text-editor\" data-id=\"a38ebe2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The next feature we needed for our installation was a login page for phpMyAdmin that would not be visible until a user had successfully passed an authentication check.<\/p><p>Thankfully, most web servers\u2014including Apache\u2014offer this functionality by default. Simply changing our Apache configuration file will enable us to use an authorization file.<\/p><p>Reopen the text editor and the phpMyAdmin Apache configuration file:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8abd201 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8abd201\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-730f8f2\" data-id=\"730f8f2\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3bb1738 elementor-widget elementor-widget-heading\" data-id=\"3bb1738\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<span class=\"elementor-heading-title elementor-size-default\">sudo nano \/etc\/httpd\/conf.d\/phpMyAdmin.conf<\/span>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-278a22f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"278a22f\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b4cbb24\" data-id=\"b4cbb24\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d27aca8 elementor-widget elementor-widget-text-editor\" data-id=\"d27aca8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>We need to add an override directive outside of any of the blocks inside the <strong>\/usr\/share\/phpMyAdmin<\/strong> directory block. It will seem as follows:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-aaa6d1b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"aaa6d1b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-346e4cc\" data-id=\"346e4cc\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4bc847a elementor-widget elementor-widget-text-editor\" data-id=\"4bc847a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><strong>&lt;Directory \/usr\/share\/phpMyAdmin\/&gt;<\/strong><br \/><strong>AllowOverride All<\/strong><br \/><strong>&lt;IfModule mod_authz_core.c&gt;<\/strong><br \/><strong>. . .<\/strong><br \/><strong>&lt;\/Director. . .<\/strong><br \/><strong>y&gt;<\/strong><br \/><strong>. . .<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1e2b545 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1e2b545\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-40577c7\" data-id=\"40577c7\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5cc8c20 elementor-widget elementor-widget-text-editor\" data-id=\"5cc8c20\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>This will enable us to put further configuration information in a file called <strong>.htaccess<\/strong> that is placed inside the phpMyAdmin directory. This file will be used to configure our password authentication.<\/p><p>When you&#8217;re done, save and shut the file.<\/p><p>To make this update effective, restart the web service:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-265889d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"265889d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ff3e3ee\" data-id=\"ff3e3ee\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3a9d35c elementor-widget elementor-widget-heading\" data-id=\"3a9d35c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<span class=\"elementor-heading-title elementor-size-default\">sudo systemctl restart httpd.service<\/span>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a544e36 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a544e36\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6a1beab\" data-id=\"6a1beab\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3eb5d5e elementor-widget elementor-widget-text-editor\" data-id=\"3eb5d5e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>This will enable us to put further configuration information in a file called <strong>.htaccess<\/strong> that is placed inside the phpMyAdmin directory. This file will be used to configure our password authentication.<\/p><p>When you&#8217;re done, save and shut the file.<\/p><p>To make this update effective, restart the web service:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ca1138f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ca1138f\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-16ec023\" data-id=\"16ec023\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c4d8a43 elementor-widget elementor-widget-heading\" data-id=\"c4d8a43\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<span class=\"elementor-heading-title elementor-size-medium\">Create an .htaccess File<\/span>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-902b272 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"902b272\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6493ffc\" data-id=\"6493ffc\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0d4521f elementor-widget elementor-widget-text-editor\" data-id=\"0d4521f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Since we have included the override directive to our setup, Apache will now search the <strong>\/usr\/share\/phpMyAdmin<\/strong> directory for a file with the name <strong>.htaccess<\/strong>. If it does, it will add the directives in it to its prior configuration information.<\/p><p>The <strong>.htaccess<\/strong> file needs to be created in that directory as the following step. Use your text editor to do this right away:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-bfc582b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"bfc582b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-53bece9\" data-id=\"53bece9\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f48fc7e elementor-widget elementor-widget-heading\" data-id=\"f48fc7e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<span class=\"elementor-heading-title elementor-size-default\">sudo nano \/usr\/share\/phpMyAdmin\/.htaccess<\/span>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-69397c4 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"69397c4\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-bdf63ed\" data-id=\"bdf63ed\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-fcc3ee5 elementor-widget elementor-widget-text-editor\" data-id=\"fcc3ee5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>We must enter the following details in this file:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5844f8b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5844f8b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1085176\" data-id=\"1085176\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-547c203 elementor-widget elementor-widget-text-editor\" data-id=\"547c203\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><strong>AuthType Basic<\/strong><br \/><strong>AuthName &#8220;Admin Login&#8221;<\/strong><br \/><strong>AuthUserFile \/etc\/httpd\/pma_pass<\/strong><br \/><strong>Require valid-user<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8d74406 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8d74406\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-57c7b2b\" data-id=\"57c7b2b\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-30a9add elementor-widget elementor-widget-text-editor\" data-id=\"30a9add\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Let&#8217;s discuss the meaning of each of these lines:<\/p><ul><li><strong>AuthType Basic<\/strong>: This line describes the type of authentication that we are using. This kind will use a password file to implement password authentication.<\/li><li><strong>AuthName<\/strong>: This configures the authentication dialogue box&#8217;s message. Keep this general to prevent unauthorised users from learning what is being protected.<\/li><li><strong>AuthUserFile<\/strong>:\u00a0This configures the authentication dialogue box&#8217;s message. Keep this general to prevent unwanted users from learning what is being protected.<\/li><li><strong>Require valid-user<\/strong>: This states that this resource should only be accessible to people who have provided valid credentials. This is what truly prevents entry by unauthorised users.<\/li><\/ul><p>Save the file after you have completed entering this information.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-05cb4ff elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"05cb4ff\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f649f6f\" data-id=\"f649f6f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e4ab522 elementor-widget elementor-widget-heading\" data-id=\"e4ab522\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<span class=\"elementor-heading-title elementor-size-medium\">Make the authentication password file.<\/span>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b65875a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b65875a\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1897788\" data-id=\"1897788\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-54053df elementor-widget elementor-widget-text-editor\" data-id=\"54053df\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Now that the <strong>AuthUserFile <\/strong>directive in our <strong>.htaccess<\/strong> file has indicated the path for our password file, we need to build and populate the password file.<\/p><p><strong>Htpasswd i<\/strong>s a tool provided by Apache that can be used to achieve this. The location where we want to create the file and the username we want to add authentication information for are passed to the command when we run it:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-4ec9129 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"4ec9129\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0de82bd\" data-id=\"0de82bd\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6911f65 elementor-widget elementor-widget-heading\" data-id=\"6911f65\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<span class=\"elementor-heading-title elementor-size-default\">sudo htpasswd -c \/etc\/httpd\/pma_pass username<\/span>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-96578f9 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"96578f9\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-34d2aec\" data-id=\"34d2aec\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-877ed84 elementor-widget elementor-widget-text-editor\" data-id=\"877ed84\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The -c parameter signals that an initial file will be created. The path and filename for the file will be determined by the directory location. The first user we want to add is the username. You will be asked to enter and verify the user&#8217;s password.<\/p><p>You may run the same command again with a different username and without the -c parameter if you wish to add other users to authenticate:<\/p><p>The -c parameter signals that an initial file will be created. The path and filename for the file will be determined by the directory location. The first user we want to add is the username. You will be asked to enter and verify the user&#8217;s password.<\/p><p>You may run the same command again with a different username and without the -c parameter if you wish to add other users to authenticate:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b60d244 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b60d244\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-705781a\" data-id=\"705781a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-016a198 elementor-widget elementor-widget-heading\" data-id=\"016a198\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<span class=\"elementor-heading-title elementor-size-default\">sudo htpasswd \/etc\/httpd\/pma_pass seconduser<\/span>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8a9f12f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8a9f12f\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5d2f724\" data-id=\"5d2f724\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-12ad958 elementor-widget elementor-widget-text-editor\" data-id=\"12ad958\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>We now get a password prompt when we visit our site once our password file has been produced and an authentication gateway has been put in place:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-3db520d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3db520d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d01c0db\" data-id=\"d01c0db\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7e65172 elementor-widget elementor-widget-heading\" data-id=\"7e65172\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<span class=\"elementor-heading-title elementor-size-default\">http:\/\/server_domain_or_IP\/nothingtosee<\/span>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8a26082 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8a26082\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5864d0f\" data-id=\"5864d0f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-9ac816e elementor-widget elementor-widget-image\" data-id=\"9ac816e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"349\" height=\"274\" src=\"https:\/\/www.hostzop.com\/knowledge\/wp-content\/uploads\/2022\/12\/l.png\" class=\"attachment-large size-large wp-image-3582\" alt=\"\" srcset=\"https:\/\/www.hostzop.com\/knowledge\/wp-content\/uploads\/2022\/12\/l.png 349w, https:\/\/www.hostzop.com\/knowledge\/wp-content\/uploads\/2022\/12\/l-300x236.png 300w\" sizes=\"(max-width: 349px) 100vw, 349px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-06b4cfa elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"06b4cfa\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e6aed38\" data-id=\"e6aed38\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6fc74f1 elementor-widget elementor-widget-text-editor\" data-id=\"6fc74f1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The standard phpMyAdmin login page will be displayed when you have entered your credentials. In addition to the increased security, this extra layer of security will assist in preventing authentication attempts from appearing in your MySQL logs.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9d2cf9e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9d2cf9e\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-46028ef\" data-id=\"46028ef\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5cc86d0 elementor-widget elementor-widget-heading\" data-id=\"5cc86d0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<span class=\"elementor-heading-title elementor-size-medium\">Conclusion<\/span>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-de7d7cb elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"de7d7cb\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e68bc0a\" data-id=\"e68bc0a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c9f339e elementor-widget elementor-widget-text-editor\" data-id=\"c9f339e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Now, you can administer your MySQL databases using a web interface that is largely safe. The majority of the functionality accessible via the MySQL command prompt is exposed by this UI. You can run queries, view databases and schema, and build new data sets and structures.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","manualknowledgebasecat":[20],"manual_kb_tag":[],"class_list":["post-3572","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-knowledgebase"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Set Up and Secure phpMyAdmin on a CentOS 7 Server Using Apache - Hostzop - Web Hosting Services<\/title>\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.hostzop.com\/knowledge\/knowledgebase\/how-to-set-up-and-secure-phpmyadmin-on-a-centos-7-server-using-apache\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set Up and Secure phpMyAdmin on a CentOS 7 Server Using Apache - Hostzop - Web Hosting Services\" \/>\n<meta property=\"og:description\" content=\"Introduction A sizable percentage of websites and applications use relational database management systems like MySQL and MariaDB. While using the command line to manage their data may not be comfortable for all people. In order to provide a solution in the form of a web-based management interface, a project named phpMyAdmin was developed. We&#8217;ll show [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hostzop.com\/knowledge\/knowledgebase\/how-to-set-up-and-secure-phpmyadmin-on-a-centos-7-server-using-apache\/\" \/>\n<meta property=\"og:site_name\" content=\"Hostzop - Web Hosting Services\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hostzop\/\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-01T07:48:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hostzop.com\/knowledge\/wp-content\/uploads\/2022\/12\/login.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@hostzop\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hostzop.com\\\/knowledge\\\/knowledgebase\\\/how-to-set-up-and-secure-phpmyadmin-on-a-centos-7-server-using-apache\\\/\",\"url\":\"https:\\\/\\\/www.hostzop.com\\\/knowledge\\\/knowledgebase\\\/how-to-set-up-and-secure-phpmyadmin-on-a-centos-7-server-using-apache\\\/\",\"name\":\"How to Set Up and Secure phpMyAdmin on a CentOS 7 Server Using Apache - Hostzop - Web Hosting Services\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hostzop.com\\\/knowledge\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hostzop.com\\\/knowledge\\\/knowledgebase\\\/how-to-set-up-and-secure-phpmyadmin-on-a-centos-7-server-using-apache\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hostzop.com\\\/knowledge\\\/knowledgebase\\\/how-to-set-up-and-secure-phpmyadmin-on-a-centos-7-server-using-apache\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostzop.com\\\/knowledge\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/login.png\",\"datePublished\":\"2022-12-05T06:38:35+00:00\",\"dateModified\":\"2023-02-01T07:48:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hostzop.com\\\/knowledge\\\/knowledgebase\\\/how-to-set-up-and-secure-phpmyadmin-on-a-centos-7-server-using-apache\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hostzop.com\\\/knowledge\\\/knowledgebase\\\/how-to-set-up-and-secure-phpmyadmin-on-a-centos-7-server-using-apache\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hostzop.com\\\/knowledge\\\/knowledgebase\\\/how-to-set-up-and-secure-phpmyadmin-on-a-centos-7-server-using-apache\\\/#primaryimage\",\"url\":\"https:\\\/\\\/hostzop.com\\\/knowledge\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/login.png\",\"contentUrl\":\"https:\\\/\\\/hostzop.com\\\/knowledge\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/login.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hostzop.com\\\/knowledge\\\/knowledgebase\\\/how-to-set-up-and-secure-phpmyadmin-on-a-centos-7-server-using-apache\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hostzop.com\\\/knowledge\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Set Up and Secure phpMyAdmin on a CentOS 7 Server Using Apache\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hostzop.com\\\/knowledge\\\/#website\",\"url\":\"https:\\\/\\\/www.hostzop.com\\\/knowledge\\\/\",\"name\":\"hostzop.com\\\/knowledge\\\/\",\"description\":\"Just another WordPress site\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hostzop.com\\\/knowledge\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hostzop.com\\\/knowledge\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hostzop.com\\\/knowledge\\\/#organization\",\"name\":\"Hostzop knowledge\",\"url\":\"https:\\\/\\\/www.hostzop.com\\\/knowledge\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hostzop.com\\\/knowledge\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/hostzop.com\\\/knowledge\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/hostzop.com\\\/knowledge\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/logo.png\",\"width\":233,\"height\":103,\"caption\":\"Hostzop knowledge\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hostzop.com\\\/knowledge\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hostzop\\\/\",\"https:\\\/\\\/x.com\\\/hostzop\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Set Up and Secure phpMyAdmin on a CentOS 7 Server Using Apache - Hostzop - Web Hosting Services","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.hostzop.com\/knowledge\/knowledgebase\/how-to-set-up-and-secure-phpmyadmin-on-a-centos-7-server-using-apache\/","og_locale":"en_US","og_type":"article","og_title":"How to Set Up and Secure phpMyAdmin on a CentOS 7 Server Using Apache - Hostzop - Web Hosting Services","og_description":"Introduction A sizable percentage of websites and applications use relational database management systems like MySQL and MariaDB. While using the command line to manage their data may not be comfortable for all people. In order to provide a solution in the form of a web-based management interface, a project named phpMyAdmin was developed. We&#8217;ll show [&hellip;]","og_url":"https:\/\/www.hostzop.com\/knowledge\/knowledgebase\/how-to-set-up-and-secure-phpmyadmin-on-a-centos-7-server-using-apache\/","og_site_name":"Hostzop - Web Hosting Services","article_publisher":"https:\/\/www.facebook.com\/hostzop\/","article_modified_time":"2023-02-01T07:48:25+00:00","og_image":[{"url":"https:\/\/hostzop.com\/knowledge\/wp-content\/uploads\/2022\/12\/login.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@hostzop","twitter_misc":{"Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.hostzop.com\/knowledge\/knowledgebase\/how-to-set-up-and-secure-phpmyadmin-on-a-centos-7-server-using-apache\/","url":"https:\/\/www.hostzop.com\/knowledge\/knowledgebase\/how-to-set-up-and-secure-phpmyadmin-on-a-centos-7-server-using-apache\/","name":"How to Set Up and Secure phpMyAdmin on a CentOS 7 Server Using Apache - Hostzop - Web Hosting Services","isPartOf":{"@id":"https:\/\/www.hostzop.com\/knowledge\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hostzop.com\/knowledge\/knowledgebase\/how-to-set-up-and-secure-phpmyadmin-on-a-centos-7-server-using-apache\/#primaryimage"},"image":{"@id":"https:\/\/www.hostzop.com\/knowledge\/knowledgebase\/how-to-set-up-and-secure-phpmyadmin-on-a-centos-7-server-using-apache\/#primaryimage"},"thumbnailUrl":"https:\/\/hostzop.com\/knowledge\/wp-content\/uploads\/2022\/12\/login.png","datePublished":"2022-12-05T06:38:35+00:00","dateModified":"2023-02-01T07:48:25+00:00","breadcrumb":{"@id":"https:\/\/www.hostzop.com\/knowledge\/knowledgebase\/how-to-set-up-and-secure-phpmyadmin-on-a-centos-7-server-using-apache\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hostzop.com\/knowledge\/knowledgebase\/how-to-set-up-and-secure-phpmyadmin-on-a-centos-7-server-using-apache\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hostzop.com\/knowledge\/knowledgebase\/how-to-set-up-and-secure-phpmyadmin-on-a-centos-7-server-using-apache\/#primaryimage","url":"https:\/\/hostzop.com\/knowledge\/wp-content\/uploads\/2022\/12\/login.png","contentUrl":"https:\/\/hostzop.com\/knowledge\/wp-content\/uploads\/2022\/12\/login.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hostzop.com\/knowledge\/knowledgebase\/how-to-set-up-and-secure-phpmyadmin-on-a-centos-7-server-using-apache\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hostzop.com\/knowledge\/"},{"@type":"ListItem","position":2,"name":"How to Set Up and Secure phpMyAdmin on a CentOS 7 Server Using Apache"}]},{"@type":"WebSite","@id":"https:\/\/www.hostzop.com\/knowledge\/#website","url":"https:\/\/www.hostzop.com\/knowledge\/","name":"hostzop.com\/knowledge\/","description":"Just another WordPress site","publisher":{"@id":"https:\/\/www.hostzop.com\/knowledge\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hostzop.com\/knowledge\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hostzop.com\/knowledge\/#organization","name":"Hostzop knowledge","url":"https:\/\/www.hostzop.com\/knowledge\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hostzop.com\/knowledge\/#\/schema\/logo\/image\/","url":"https:\/\/hostzop.com\/knowledge\/wp-content\/uploads\/2023\/02\/logo.png","contentUrl":"https:\/\/hostzop.com\/knowledge\/wp-content\/uploads\/2023\/02\/logo.png","width":233,"height":103,"caption":"Hostzop knowledge"},"image":{"@id":"https:\/\/www.hostzop.com\/knowledge\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hostzop\/","https:\/\/x.com\/hostzop"]}]}},"_links":{"self":[{"href":"https:\/\/www.hostzop.com\/knowledge\/wp-json\/wp\/v2\/manual_kb\/3572","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostzop.com\/knowledge\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/www.hostzop.com\/knowledge\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostzop.com\/knowledge\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostzop.com\/knowledge\/wp-json\/wp\/v2\/comments?post=3572"}],"version-history":[{"count":0,"href":"https:\/\/www.hostzop.com\/knowledge\/wp-json\/wp\/v2\/manual_kb\/3572\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hostzop.com\/knowledge\/wp-json\/wp\/v2\/media?parent=3572"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/www.hostzop.com\/knowledge\/wp-json\/wp\/v2\/manualknowledgebasecat?post=3572"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/www.hostzop.com\/knowledge\/wp-json\/wp\/v2\/manual_kb_tag?post=3572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}