MySQL (2)
本日は無事にアクセスが可能でした。
http://www.phpmyadmin.net/home_page/index.php
上記よりphpMyAdmin 2.6.1-pl3 をダウンロード
# tar zxvf phpMyAdmin2.6.1-pl3
# cd phpMyAdmin2.6.1-pl3
phpMyAdmin-2.6.1-pl3/config.inc.php 下記の行を変更
-------
// Line 39
$cfg['PmaAbsoluteUri'] = $_SERVER["HTTP_HOST"] . '/phpMyAdmin/';
// Line 85
$cfg['Servers'][$i]['password'] = 'password'; //MySQL root password
// Line 399
$cfg['DefaultCharset'] = 'ja-euc'; //日本語表示
-------
# cp -R phpMyAdmin-2.6.1-pl3 /home/httpd/html/
# mv phpMyAdmin-2.6.1-pl3 phpMyAdmin
PHPが実行されるよう変更
# vi /etc/httpd/conf.d/php.conf
-------
<Directory /home/httpd/html>
php_flag register_globals off
php_flag magic_quotes_gpc on
php_flag output_buffering on
php_value output_handler "mb_output_handler"
php_value default_charset "Shift_JIS"
php_value mbstring.internal_encoding EUC-JP
php_value mbstring.http_input auto
php_value mbstring.http_output SJIS
php_value mbstring.substitute_character none
php_value mbstring.detect_order auto
php_flag mbstring.encoding_translation On
Order deny,allow
Deny from all
Allow from 192.168.10. 127.0.0.1 //アクセス制御
</Directory>
-------
インターネットブラウザより
http://localhost/phpMyAdmin/index.php
より起動が可能となる
「Linux」カテゴリの記事
- 外付けHDD データリカバリー(2012.04.13)
- MacOS風インターフェース PearLinux(Comice)(2012.03.20)
- レスキュー用 ブートLinux(2011.10.12)
- USBメモリ起動 BackTrack 5(2011.08.12)
- USBメモリ起動 Vine Linux 6.0(インストールのみ)(2011.08.11)



Comments