{"id":2719,"date":"2013-12-09T13:17:06","date_gmt":"2013-12-09T19:17:06","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=2719"},"modified":"2025-07-18T07:03:52","modified_gmt":"2025-07-18T12:03:52","slug":"installing-and-securing-phpmyadmin-4-on-centos-6","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/installing-and-securing-phpmyadmin-4-on-centos-6\/","title":{"rendered":"Installing and securing phpMyAdmin 4 on CentOS 6"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<h5 class=\"wp-block-heading\" id=\"h-status-this-os-is-no-longer-supported\">Status: This OS is no longer supported<\/h5>\n\n\n\n<p><em>This article, &#8220;Installing and securing phpMyAdmin 4 on CentOS 6,&#8221; covers a version of CentOS that reached end of life (EOL). It is no longer supported. As such, this guide is no longer maintained. If you are currently operating a server running CentOS 6, we highly recommend contacting <a href=\"https:\/\/www.rosehosting.com\/support\/\">RoseHosting&#8217;s fully managed support<\/a>. They can upgrade or migrate you to a supported version of AlmaLinux.<\/em><\/p>\n\n\n\n<!--more-->\n\n\n<p><a href=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/11\/phpmyadmin.png\"><img decoding=\"async\" class=\"alignleft size-full wp-image-2720\" style=\"border: 0px none;\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/11\/phpmyadmin.png\" alt=\"phpmyadmin\" width=\"172\" height=\"100\" \/><\/a>This guide will explain how to set up phpMyAdmin 4 on a <a title=\"CentOS VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">CentOS 6 VPS<\/a> and configure it to use SSL.<br \/>PhpMyAdmin is a web based MySQL administration tool made to make MySQL administration much easier. PhpMyAdmin needs to have a web server (for example Apache) and at least PHP 5.2 and MySQL 5 installed on the server.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69cbcf60e508f\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69cbcf60e508f\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/installing-and-securing-phpmyadmin-4-on-centos-6\/#Installing-Apache\" >Installing Apache<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/installing-and-securing-phpmyadmin-4-on-centos-6\/#Setting-up-MySQL\" >Setting up MySQL<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/installing-and-securing-phpmyadmin-4-on-centos-6\/#Set-Up-The-Self-Signed-Certificate\" >Set Up The Self-Signed Certificate<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/installing-and-securing-phpmyadmin-4-on-centos-6\/#SetUp-phpMyAdmin\" >SetUp phpMyAdmin<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/installing-and-securing-phpmyadmin-4-on-centos-6\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Installing-Apache\"><\/span>Installing Apache<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To install Apache, MySQL and PHP, use the following command:<\/p>\n<pre>yum install httpd mysql-server php php-mysql php-gd php-mbstring<\/pre>\n<p>Start Apache and MySQL services:<\/p>\n<pre>service httpd start\nservice mysqld start<\/pre>\n<p>Set the Apache and MySQL services to start automatically when the <a title=\"Linux VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">virtual server<\/a> boots:<\/p>\n<pre>chkconfig httpd on\nchkconfig mysqld on<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Setting-up-MySQL\"><\/span>Setting up MySQL<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Set a MySQL root password using the following command:<\/p>\n<pre>\/usr\/bin\/mysql_secure_installation<\/pre>\n<p>Follow the instructions; enter your new MySQL root password, say &#8216;Yes&#8217; to all the options and your MySQL installation should now be secure.<\/p>\n<p>Install OpenSSL and mod_ssl packages using the following command:<\/p>\n<pre>yum install mod_ssl openssl<\/pre>\n<p>Download and extract the latest version of phpMyAdmin available at http:\/\/www.phpmyadmin.net\/home_page\/downloads.php<\/p>\n<pre>cd \/root\nwget http:\/\/sourceforge.net\/projects\/phpmyadmin\/files\/phpMyAdmin\/4.0.9\/phpMyAdmin-4.0.9-all-languages.tar.gz\ntar -xzf \/root\/phpMyAdmin*.tar.gz -C \/var\/www\/html\/\nmv \/var\/www\/html\/phpMyAdmin-4.0.9-all-languages \/var\/www\/html\/php-My-Admin\ncd \/var\/www\/html\/php-My-Admin\ncp config.sample.inc.php config.inc.php<\/pre>\n<p>Edit the &#8216;config.inc.php&#8217; configuration file and add the following line below &#8216;\/* Authentication type *\/&#8217;:<\/p>\n<pre>$cfg['ForceSSL'] = true;<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Set-Up-The-Self-Signed-Certificate\"><\/span>Set Up The Self-Signed Certificate<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The next step is to generate a self-signed certificate.<\/p>\n<p>Generate private key:<\/p>\n<pre>openssl genrsa -des3 -out your-domain.com.key 4096<\/pre>\n<p>Generate CSR:<\/p>\n<pre>openssl req -new -key your-domain.com.key -out your-domain.com.csr<\/pre>\n<p>Generate Self-Signed Key:<\/p>\n<pre>openssl x509 -req -days 700 -in your-domain.com.csr -signkey your-domain.com.key -out your-domain.com.crt<\/pre>\n<p>Copy the files to the &#8216;\/etc\/httpd\/ssl\/&#8217; directory:<\/p>\n<pre>mkdir -p \/etc\/httpd\/ssl\/\ncp your-domain.com.crt \/etc\/httpd\/ssl\/\ncp your-domain.com.key \/etc\/httpd\/ssl\/<\/pre>\n<p>Create new virtual hosts in Apache, for example:<\/p>\n<pre class=\"brush: bash; gutter: false\">vi \/etc\/httpd\/conf.d\/your-domain.com.conf<\/pre>\n<pre>NameVirtualHost *:80\nNameVirtualHost *:443\n\n&lt;VirtualHost *:80&amp;gt;\nDocumentRoot \"\/var\/www\/html\/php-My-Admin\/\"\n     ServerName your-domain.com\n     &lt;Directory \/var\/www\/php-My-Admin\/&gt;\n         Options Indexes FollowSymLinks MultiViews\n         AllowOverride All\n         Order allow,deny\n         allow from all\n     &lt;\/Directory&gt;\nErrorLog logs\/your-domain.com_error_log\nTransferLog logs\/your-domain.com_access_log\nLogLevel warn\n&lt;\/VirtualHost&gt;\n\n&lt;VirtualHost *:443&gt;\nDocumentRoot \"\/var\/www\/html\/php-My-Admin\/\"\n ServerName your-domain.com\n SSLEngine on\n SSLProtocol all -SSLv2\n SSLCertificateFile \/etc\/httpd\/ssl\/your-domain.com.crt\n SSLCertificateKeyFile \/etc\/httpd\/ssl\/your-domain.com.key\n     &lt;Directory \/var\/www\/php-My-Admin\/&gt;\n         Options Indexes FollowSymLinks MultiViews\n         AllowOverride All\n         Order allow,deny\n         allow from all\n     &lt;\/Directory&gt;\nErrorLog logs\/your-domain.com.ssl_error_log\nTransferLog logs\/your-domain.com.ssl_access_log\nLogLevel warn\n&lt;\/VirtualHost&gt;<\/pre>\n<p>Restart Apache service for the changes to take effect:<\/p>\n<pre class=\"brush: bash; gutter: false\">service httpd restart<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"SetUp-phpMyAdmin\"><\/span>SetUp phpMyAdmin<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Open your popular web browser and access the phpMyAdmin interface at https:\/\/your-domain.com<\/p>\n<p>You will receive a warning about the SSL certificate not being trusted. This is normal and is expected. The SSL certificate we created is self-signed which is why the web browser is complaining. You can safely ignore that, accept the certificate and proceed to log in to phpMyAdmin.<\/p>\n<p><a href=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/11\/phpmyadmin-vps.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-2732\" style=\"border: 0px none;\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/11\/phpmyadmin-vps.png\" alt=\"phpmyadmin vps\" width=\"410\" height=\"510\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/11\/phpmyadmin-vps.png 410w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/11\/phpmyadmin-vps-241x300.png 241w\" sizes=\"(max-width: 410px) 100vw, 410px\" \/><\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Of course, you don\u2019t have to do any of this if you use one of our <a title=\"Linux VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install phpMyAdmin for you. They are available 24&#215;7 and will take care of your request immediately. For updates, you can also refer to our guide on <a href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-phpmyadmin-on-centos-8\/\">How to Install phpMyAdmin on CentOS 8<\/a>.<\/p>\n<p><strong><span style=\"color: #ff0000;\">PS<\/span>.<\/strong> If you liked this post please share it with your friends or leave a reply below. Thanks.<\/p>","protected":false},"excerpt":{"rendered":"<p>Status: This OS is no longer supported This article, &#8220;Installing and securing phpMyAdmin 4 on CentOS 6,&#8221; covers a version &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Installing and securing phpMyAdmin 4 on CentOS 6\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/installing-and-securing-phpmyadmin-4-on-centos-6\/#more-2719\" aria-label=\"Read more about Installing and securing phpMyAdmin 4 on CentOS 6\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":2720,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1699,1708,1703,13],"tags":[124,337,177,336,335],"class_list":["post-2719","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-control-panels","category-security","category-tutorials","tag-centos-vps","tag-install-phpmyadmin","tag-linux-vps","tag-phpmyadmin-over-ssl","tag-secure-phpmyadmin","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Installing and securing phpMyAdmin 4 on CentOS 6 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Learn how to install phpMyAdmin 4 on CentOS 6 with this detailed guide, covering setup and SSL configuration.\" \/>\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.rosehosting.com\/blog\/installing-and-securing-phpmyadmin-4-on-centos-6\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Installing and securing phpMyAdmin 4 on CentOS 6\" \/>\n<meta property=\"og:description\" content=\"Installing and securing phpMyAdmin 4 on CentOS 6 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/installing-and-securing-phpmyadmin-4-on-centos-6\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2013-12-09T19:17:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-18T12:03:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/11\/phpmyadmin.png\" \/>\n\t<meta property=\"og:image:width\" content=\"172\" \/>\n\t<meta property=\"og:image:height\" content=\"100\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/installing-and-securing-phpmyadmin-4-on-centos-6\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/installing-and-securing-phpmyadmin-4-on-centos-6\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"Installing and securing phpMyAdmin 4 on CentOS 6\",\"datePublished\":\"2013-12-09T19:17:06+00:00\",\"dateModified\":\"2025-07-18T12:03:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/installing-and-securing-phpmyadmin-4-on-centos-6\\\/\"},\"wordCount\":434,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/installing-and-securing-phpmyadmin-4-on-centos-6\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/11\\\/phpmyadmin.png\",\"keywords\":[\"centos vps\",\"install phpMyAdmin\",\"linux vps\",\"phpMyAdmin over SSL\",\"secure phpMyAdmin\"],\"articleSection\":[\"CentOS\",\"Control Panels\",\"Security\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/installing-and-securing-phpmyadmin-4-on-centos-6\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/installing-and-securing-phpmyadmin-4-on-centos-6\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/installing-and-securing-phpmyadmin-4-on-centos-6\\\/\",\"name\":\"Installing and securing phpMyAdmin 4 on CentOS 6 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/installing-and-securing-phpmyadmin-4-on-centos-6\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/installing-and-securing-phpmyadmin-4-on-centos-6\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/11\\\/phpmyadmin.png\",\"datePublished\":\"2013-12-09T19:17:06+00:00\",\"dateModified\":\"2025-07-18T12:03:52+00:00\",\"description\":\"Learn how to install phpMyAdmin 4 on CentOS 6 with this detailed guide, covering setup and SSL configuration.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/installing-and-securing-phpmyadmin-4-on-centos-6\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/installing-and-securing-phpmyadmin-4-on-centos-6\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/installing-and-securing-phpmyadmin-4-on-centos-6\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/11\\\/phpmyadmin.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/11\\\/phpmyadmin.png\",\"width\":172,\"height\":100,\"caption\":\"phpmyadmin\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/installing-and-securing-phpmyadmin-4-on-centos-6\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Installing and securing phpMyAdmin 4 on CentOS 6\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Installing and securing phpMyAdmin 4 on CentOS 6 | RoseHosting","description":"Learn how to install phpMyAdmin 4 on CentOS 6 with this detailed guide, covering setup and SSL configuration.","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.rosehosting.com\/blog\/installing-and-securing-phpmyadmin-4-on-centos-6\/","og_locale":"en_US","og_type":"article","og_title":"Installing and securing phpMyAdmin 4 on CentOS 6","og_description":"Installing and securing phpMyAdmin 4 on CentOS 6 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/installing-and-securing-phpmyadmin-4-on-centos-6\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2013-12-09T19:17:06+00:00","article_modified_time":"2025-07-18T12:03:52+00:00","og_image":[{"width":172,"height":100,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/11\/phpmyadmin.png","type":"image\/png"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/installing-and-securing-phpmyadmin-4-on-centos-6\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/installing-and-securing-phpmyadmin-4-on-centos-6\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"Installing and securing phpMyAdmin 4 on CentOS 6","datePublished":"2013-12-09T19:17:06+00:00","dateModified":"2025-07-18T12:03:52+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/installing-and-securing-phpmyadmin-4-on-centos-6\/"},"wordCount":434,"commentCount":2,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/installing-and-securing-phpmyadmin-4-on-centos-6\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/11\/phpmyadmin.png","keywords":["centos vps","install phpMyAdmin","linux vps","phpMyAdmin over SSL","secure phpMyAdmin"],"articleSection":["CentOS","Control Panels","Security","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/installing-and-securing-phpmyadmin-4-on-centos-6\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/installing-and-securing-phpmyadmin-4-on-centos-6\/","url":"https:\/\/www.rosehosting.com\/blog\/installing-and-securing-phpmyadmin-4-on-centos-6\/","name":"Installing and securing phpMyAdmin 4 on CentOS 6 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/installing-and-securing-phpmyadmin-4-on-centos-6\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/installing-and-securing-phpmyadmin-4-on-centos-6\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/11\/phpmyadmin.png","datePublished":"2013-12-09T19:17:06+00:00","dateModified":"2025-07-18T12:03:52+00:00","description":"Learn how to install phpMyAdmin 4 on CentOS 6 with this detailed guide, covering setup and SSL configuration.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/installing-and-securing-phpmyadmin-4-on-centos-6\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/installing-and-securing-phpmyadmin-4-on-centos-6\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/installing-and-securing-phpmyadmin-4-on-centos-6\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/11\/phpmyadmin.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/11\/phpmyadmin.png","width":172,"height":100,"caption":"phpmyadmin"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/installing-and-securing-phpmyadmin-4-on-centos-6\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Installing and securing phpMyAdmin 4 on CentOS 6"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/2719","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=2719"}],"version-history":[{"count":2,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/2719\/revisions"}],"predecessor-version":[{"id":50838,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/2719\/revisions\/50838"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/2720"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=2719"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=2719"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=2719"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}