I just finished setting up a default Linux EC2 instance and would like to install PHPMyAdmin. I already have Apache and MySQL installed but cannot seem to install PHPMyAdmin. I tried using

sudo apt-get phpmyadmin but the command apt-get is not recognized.

I also tried sudo yum install phpmyadmin but that I get the message No package phpmyadmin available.

Any suggestions on what I am doing wrong?

link|improve this question

feedback

3 Answers

up vote 5 down vote accepted

I found an easy solution here

Do the following:

Navigate to the apache folder

cd /var/www/html

Download phpMyAdmin

wget http://www.sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/3.4.1/phpMyAdmin-3.4.1-all-languages.tar.bz2

Unzip

tar -jxf phpMyAdmin-3.4.1-all-languages-tar.bz2 -C /var/www/html

Rename the folder

mv phpMyAdmin-3.4.1-all-languages phpmyadmin

Remove the zip file

rm -rf phpMyAdmin-3.4.1-all-languages.tar.bz2

That's the basics. You can find more info in the link provided above.

link|improve this answer
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 

This works fine on a standart 32bits amazon instance

link|improve this answer
Also working well on 64bit amazon linux. This is may be better for some users then the "accepted" answer as it resolves the dependencies faster then doing a manual install. – Nir Levy Feb 8 at 15:34
1  
note that you'll need to supplement this install with "ln -s /usr/share/phpmyadmin/ /var/www/html/phpmyadmin" – Nir Levy Feb 8 at 15:36
feedback

The package is called phpMyAdmin. You may need to enable EPEL first.

link|improve this answer
Can you provide more clarification? How do I go about enabling EPEL? – David May 31 '11 at 21:04
Did you try reading "How can I use these extra packages?"? – Ignacio Vazquez-Abrams May 31 '11 at 21:11
That looks way too difficult just to install phpMyAdmin. See my answer for a better solution. – David Jun 2 '11 at 15:07
feedback

Your Answer

 
or
required, but never shown

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