877-230-8196

quick install of phpmyadmin Print E-mail
User Rating: / 0
PoorBest 
Thursday, 15 May 2008 23:18

While phpmyadmin looks quite complicated to install due the countless number of options that you can find in the config files, I've got a pretty simple way to install it that seems supporting of security policies that are placed on the server elsewhere.

NOTE: These settings are for Fecora, Cent, or RHEL machines as the paths follow the way these machines configure their services and the location of their configs.

  • Extract the tar-gz into /var/www/phpmyadmin
  • add "Alias /phpmyadmin/ "/var/www/phpadmin/" to /etc/httpd/conf.d/phpmyadmin.conf
  • restart apache
  • rename the config.sample.inc.php to config.inc.php and change the line that defines "auth_type" to be http.   Save the file
That's it.  Now, you can hit the phpyadmin instance and manage any database using the username nad password for that database.