{"id":3450,"date":"2012-06-20T22:35:47","date_gmt":"2012-06-20T14:35:47","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=3450"},"modified":"2023-04-28T09:49:15","modified_gmt":"2023-04-28T09:49:15","slug":"how-to-setup-phpmyadmin-3-5-1-on-centos-6-2-using-remi-repository","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-setup-phpmyadmin-3-5-1-on-centos-6-2-using-remi-repository\/","title":{"rendered":"How to Setup phpMyAdmin 3.5.1 on CentOS 6.2 using Remi Repository"},"content":{"rendered":"<p><img decoding=\"async\" data-src=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2012\/02\/phpmyadmin-150x150.jpg\" alt=\"phpmyadmin\" title=\"phpmyadmin\" width=\"150\" height=\"150\" class=\"alignleft size-thumbnail wp-image-1893 lazyload\" data-srcset=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2012\/02\/phpmyadmin-150x150.jpg 150w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2012\/02\/phpmyadmin-100x100.jpg 100w\" data-sizes=\"(max-width: 150px) 100vw, 150px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 150px; --smush-placeholder-aspect-ratio: 150\/150;\" \/>phpMyAdmin is a free and open source tool written in PHP intended to handle the administration of MySQL with the use of a Web browser. It is a tools that giving users the ability to interact with their MySQL databases to perform the task such as creating, modifying or drop databases, executing SQL statements, managing users and set permissions. This post will show you the steps on how to setup phpMyAdmin 3.5.1 on CentOS 6.2 using remi repository.<\/p>\n<p><strong>Prerequisites :<\/strong><br \/>\n<a href=\"https:\/\/webhostinggeeks.com\/howto\/how-to-install-remi-yum-repository-on-centos-6-2-x86-and-x86_64\/\" rel=\"nofollow\">How to Install Remi yum Repository on CentOS 6.2 x86 and x86_64<\/a><\/p>\n<p>Simply execute the following command to install phpmyadmin :<\/p>\n<pre>\n[root@centos62 ~]# yum install phpmyadmin -y\nLoaded plugins: fastestmirror, priorities\nDetermining fastest mirrors\n * base: mirror.averse.net\n * extras: mirror.yourconnect.com\n * remi: iut-info.univ-reims.fr\n * remi-test: iut-info.univ-reims.fr\n * updates: mirror.yourconnect.com\nbase                                                                         | 3.7 kB     00:00\nbase\/primary_db                                                              | 3.5 MB     00:34\nextras                                                                       | 3.5 kB     00:00\nextras\/primary_db                                                            | 9.1 kB     00:00\nremi                                                                         | 2.9 kB     00:00\nremi\/primary_db                                                              | 259 kB     00:02\nremi-test                                                                    | 2.9 kB     00:00\nremi-test\/primary_db                                                         |  80 kB     00:01\nupdates                                                                      | 3.5 kB     00:00\nupdates\/primary_db                                                           | 3.9 MB     00:35\nSetting up Install Process\nResolving Dependencies\n--> Running transaction check\n---> Package phpMyAdmin.noarch 0:3.5.1-1.el6.remi will be installed\n--> Processing Dependency: php-mysql >= 5.2.0 for package: phpMyAdmin-3.5.1-1.el6.remi.noarch\n--> Processing Dependency: php-mcrypt >= 5.2.0 for package: phpMyAdmin-3.5.1-1.el6.remi.noarch\n--> Processing Dependency: php-mbstring >= 5.2.0 for package: phpMyAdmin-3.5.1-1.el6.remi.noarch\n--> Processing Dependency: php-gd >= 5.2.0 for package: phpMyAdmin-3.5.1-1.el6.remi.noarch\n--> Running transaction check\n---> Package php-gd.i686 0:5.4.4-1.el6.remi will be installed\n---> Package php-mbstring.i686 0:5.4.4-1.el6.remi will be installed\n---> Package php-mcrypt.i686 0:5.4.4-1.el6.remi will be installed\n---> Package php-mysql.i686 0:5.4.4-1.el6.remi will be installed\n--> Processing Dependency: php-pdo(x86-32) = 5.4.4-1.el6.remi for package: php-mysql-5.4.4-1.el6.remi.i686\n--> Running transaction check\n---> Package php-pdo.i686 0:5.4.4-1.el6.remi will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n====================================================================================================\n Package                 Arch              Version                       Repository            Size\n====================================================================================================\nInstalling:\n phpMyAdmin              noarch            3.5.1-1.el6.remi              remi                 4.7 M\nInstalling for dependencies:\n php-gd                  i686              5.4.4-1.el6.remi              remi-test            132 k\n php-mbstring            i686              5.4.4-1.el6.remi              remi-test            921 k\n php-mcrypt              i686              5.4.4-1.el6.remi              remi-test             41 k\n php-mysql               i686              5.4.4-1.el6.remi              remi-test            122 k\n php-pdo                 i686              5.4.4-1.el6.remi              remi-test            107 k\n\nTransaction Summary\n====================================================================================================\nInstall       6 Package(s)\n\nTotal download size: 6.0 M\nInstalled size: 21 M\nDownloading Packages:\n(1\/6): php-gd-5.4.4-1.el6.remi.i686.rpm                                      | 132 kB     00:11\n(2\/6): php-mbstring-5.4.4-1.el6.remi.i686.rpm                                | 921 kB     00:28\n(3\/6): php-mcrypt-5.4.4-1.el6.remi.i686.rpm                                  |  41 kB     00:01\n(4\/6): php-mysql-5.4.4-1.el6.remi.i686.rpm                                   | 122 kB     00:02\n(5\/6): php-pdo-5.4.4-1.el6.remi.i686.rpm                                     | 107 kB     00:01\n(6\/6): phpMyAdmin-3.5.1-1.el6.remi.noarch.rpm                                | 4.7 MB     01:14\n----------------------------------------------------------------------------------------------------\nTotal                                                                50 kB\/s | 6.0 MB     02:04\nRunning rpm_check_debug\nRunning Transaction Test\nTransaction Test Succeeded\nRunning Transaction\n  Installing : php-gd-5.4.4-1.el6.remi.i686                                                     1\/6\n  Installing : php-mcrypt-5.4.4-1.el6.remi.i686                                                 2\/6\n  Installing : php-pdo-5.4.4-1.el6.remi.i686                                                    3\/6\n  Installing : php-mysql-5.4.4-1.el6.remi.i686                                                  4\/6\n  Installing : php-mbstring-5.4.4-1.el6.remi.i686                                               5\/6\n  Installing : phpMyAdmin-3.5.1-1.el6.remi.noarch                                               6\/6\n\nInstalled:\n  phpMyAdmin.noarch 0:3.5.1-1.el6.remi\n\nDependency Installed:\n  php-gd.i686 0:5.4.4-1.el6.remi                  php-mbstring.i686 0:5.4.4-1.el6.remi\n  php-mcrypt.i686 0:5.4.4-1.el6.remi              php-mysql.i686 0:5.4.4-1.el6.remi\n  php-pdo.i686 0:5.4.4-1.el6.remi\n\nComplete!\n<\/pre>\n<pre>\n[root@centos62 ~]# vim \/etc\/httpd\/conf.d\/phpMyAdmin.conf\n<\/pre>\n<p>Original configuration file :<\/p>\n<pre>\nAlias \/phpMyAdmin \/usr\/share\/phpMyAdmin\nAlias \/phpmyadmin \/usr\/share\/phpMyAdmin\n&lt;Directory \/usr\/share\/phpMyAdmin\/&gt;\n   order deny,allow\n   deny from all\n   allow from 127.0.0.1\n   allow from ::1\n&lt;\/Directory&gt;\n<\/pre>\n<p>Modify to the following :<\/p>\n<pre>\nAlias \/phpMyAdmin \/usr\/share\/phpMyAdmin\nAlias \/phpmyadmin \/usr\/share\/phpMyAdmin\n&lt;Directory \/usr\/share\/phpMyAdmin\/&gt;\n   order deny,allow\n   deny from all\n   allow from 127.0.0.1\n   allow from all\n&lt;\/Directory&gt;\n<\/pre>\n<p>Once configured, restart the httpd as below :<\/p>\n<pre>\n[root@centos62 ~]# service httpd restart\n<\/pre>\n<p>Login to the phpmyadmin as below :<br \/>\nhttp:\/\/192.168.1.44\/phpmyadmin<\/p>\n","protected":false},"excerpt":{"rendered":"<p>phpMyAdmin is a free and open source tool written in PHP intended to handle the administration of MySQL with the use of a Web browser. It is a tools that&#8230;<\/p>\n","protected":false},"author":6,"featured_media":1893,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[2055,1027],"tags":[1244,1253,1473,1536,1585,1658,1768],"class_list":["post-3450","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-phpmyadmin-linux","tag-centos","tag-centos-6-2","tag-httpd","tag-linux","tag-mysql","tag-phpmyadmin","tag-setup-phpmyadmin"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/3450","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=3450"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/3450\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/1893"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=3450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=3450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=3450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}