Re: phpMyAdminがインストールできません。
( No.1 )
|
 |
- 日時: 2007/01/12 20:45
- 名前: 管理者
-
まず、ダウンロード&展開したパスの物を削除してください。
# rm -rf /var/www/html/phpmyadmin/
> @ rpm -qa | grep phpMyAdmin > とすると > phpMyAdmin-2.9.1.1-2.fc6 > と表示されますが、何処にインストールされているのか分からないので
インストールされているので、こちらを使用します。 apacheへのアクセス設定ファイル「/etc/httpd/conf.d/phpMyAdmin.conf」を見ると以下の様になっています。 # # Allows only localhost by default # # But allowing phpMyAdmin to anyone other than localhost should be considered # dangerous unless properly secured by SSL
Alias /phpMyAdmin /usr/share/phpMyAdmin <Directory /usr/share/phpMyAdmin/> order deny,allow deny from all allow from 127.0.0.1 </Directory>
# This directory does not require access over HTTP - taken from the original # phpMyAdmin upstream tarball # <Directory /usr/share/phpMyAdmin/libraries> Order Deny,Allow Deny from All Allow from None </Directory>
# This configuration prevents mod_security at phpMyAdmin directories from # filtering SQL etc. # <IfModule mod_security.c> <LocationMatch "/phpMyAdmin/(.+)"> SecFilterInheritance Off </LocationMatch> </IfModule>
上記から見ると、「/usr/share/phpMyAdmin」にインストールされていて、アクセスは「/phpMyAdmin」である事が分かります。 アクセス制限をしているので、サーバ自身のブラウザから「http://127.0.0.1/phpMyAdmin/scripts/setup.php」でアクセスしてください。 するとセットアップ画面が表示されます。
|
Re: phpMyAdminがインストールできません。
( No.2 )
|
 |
- 日時: 2007/01/12 22:36
- 名前: 馬生
-
管理者さん
早速のご回答有難うございます。 http://127.0.0.1/phpMyAdmin/ で無事アクセス出来ました。
http://127.0.0.1/phpMyAdmin/scripts/setup.php でのセットアップ方法はいまいち理解できませんが、勉強させていただきます。
本当に有難うございました。
|