cd /var/www/html # change to html folder
wget http://downloads.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.4.10.2/phpMyAdmin-3.4.10.2-all-languages.tar.bz2?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fphpmyadmin%2F%3F_test%3Db&ts=1333333467&use_mirror=nchc
tar -jxf phpMyAdmin-3.4.10.2-all-languages.tar.bz2 # unzip
mv phpMyAdmin-3.4.10.2-all-languages phpmyadmin # rename the folder to phpmyadmin or you wanted
rm -rf phpMyAdmin-3.4.1-all-languages.tar.bz2 # remove the zip file
sudo yum install php-mysql # to avoid the error "Cannot load mysql extension. Please check your PHP configuration" as below image
sudo yum install php-mcrypt
sudo service httpd restart
Direct to http://YOUR_SERVER_IP/phpmyadmin/setup/index.php to create a new server
After that, you can login with root/root by default on http://your_server_ip/phpmyadmin.
reference from: http://calebogden.com/wordpress-on-linux-in-the-amazon-cloud-with-mac/