このスレッドはクローズされています。記事の閲覧のみとなります。
  
    
        phpMyAdminがインストールできません。 | 
        | 
    
    
      
        
        - æ¥æï¼ 2007/01/12 19:17
        
- ååï¼ 馬生
 
 
          -  fc6環境で phpMyAdminがインストールできません。 
     ①    rpm -qa | grep phpMyAdmin     とすると          phpMyAdmin-2.9.1.1-2.fc6      と表示されますが、何処にインストールされているのか分からないので    ②    phpMyAdmin-2.9.1.1-all-language.tar.gz     をダウンロードし、        /var/www/html/phpmyadmin/     直下に解凍、展開し        config.inc.php      を        $cfg['PmaAbsoluteUri'] = 'http://******.dyndns.org/phpmyadmin/';        $cfg['Servers'][$i]['password'] = 'rootパスワード';      と設定し、    ③   http://******.dyndns.org/phpmyadmin/      でアクセスすると下記エラーメッセージが出てアクセスできません。       Forbidden       You don't have permission to access /phpmyadmin on this server.
        Apache/2.2.3 (Fedora) Server at ******.dyndns.org Port 80
    対処法を教えてください。
          
        
       | 
    
  
■ コンテンツ関連情報
  
    
        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 でのセットアップ方法はいまいち理解できませんが、勉強させていただきます。
   本当に有難うございました。
          
        
       | 
    
  
■ その他