phpMyAdminのインストール <Macports>

$ sudo port install phpmyadmin

$ sudo vi /etc/hosts

127.0.0.1    phpmyadmin

$ sudo vi /opt/local/apache2/conf/httpd.conf

NameVirtualHost *:80
<VirtualHost *:80>
    ServerName phpmyadmin
    DocumentRoot /opt/local/www/phpmyadmin
    <Directory "/opt/local/www/phpmyadmin">
        Order deny,allow
        Allow from all
    </Directory>
</VirtualHost>