沖縄が日本のシリコンバレーのようになってほしいと願うiOSエンジニアのブログ

世のエンジニアの役に立つようなブログにしたいなぁ

MacでのphpMyAdminのインストール方法

1. ダウンロードした「phpMyAdmin-x.x.x.x-all-languages.zip」を、展開する
2. 展開されてできたディレクトリ「phpMyAdmin-x.x.x.x-all-languages」の名前を「phpMyAdmin」に変更して「Library/WebServer/Documents/」に移動
「/Library/WebServer/Documents/」はMac のapache のデフォルトのドキュメントルート
3. "config.ini.php"という名前のファイルを作成。
(phpMyAdmin2.7から config.default.iniという名前になっていて、phpMyAdmin2.8ではphpMyAdminのlibraryフォルダのなかにあります)
4. $cfg['PmaAbsoluteUri'] = ''; を下記のように編集
 $cfg['PmaAbsoluteUri'] = 'http://localhost/phpmyadmin/';