I googled on how to install phpmyadmin on ec2, and i got this syntax:

sudo yum install phpmyadmin

But i keep getting this:

Loaded plugins: fastestmirror, priorities, security
Loading mirror speeds from cached hostfile
amzn-main                                                | 2.1 kB     00:00     
amzn-updates                                             | 2.1 kB     00:00     
Setting up Install Process
No package phpmyadmin available.
Error: Nothing to do

I tried to go my website, its not installed. Please help

EDIT:

My Server OS: Amazon Linux AMI 64 bit

I tried: yum install phpmyadmin --enablerepo=development, but still I got this error:

Loaded plugins: fastestmirror, priorities, security

Error getting repository data for development, repository not found
link|improve this question
That helps loads. See my revised answer. :) – Andrew M. Mar 28 '11 at 3:36
feedback

3 Answers

up vote 1 down vote accepted

The official Amazon Linux AMI doesn't contain the repositories that are used for phpmyadmin at all, so you'll need to install it manually. Check out this post by Caleb Ogden about doing just that.

link|improve this answer
thanks mate, I can run phpmyadmin now :) – yoko Mar 28 '11 at 4:08
feedback

First add the repository, then install:
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
sudo rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
sudo yum install phpmyadmin

working fine on a standart 32bits amazon instance

link|improve this answer
feedback

The above solution works fine. The one problem often occurs is the default phpmyadmin.conf has

Order Deny,Allow

Deny from all

Allow from 127.0.0.1

To access remotly, it should be changed to

Order Deny,Allow

Allow from all

ERROR: The configuration file now needs a secret passphrase (blowfish_secret) You need to add a blowfish password to the phpMyAdmin's config file. Edit /etc/webapps/phpmyadmin/config.inc.php and insert a random blowfish "password" in the line

$cfg['blowfish_secret'] = ; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.