오늘은 대한입니다.
sun's longitude:300 20 55.24 
· 자유게시판 · 묻고답하기 · 알파문서 · RPMS list
· 사용자문서 · 팁/FAQ모음 · 리눅스Links · 자료실
· 서버정보 · 운영자 · Books/FAQ · FreeBSD
/board/read.php:소스보기  

질문과 답변 게시판입니다.

현재 실시간으로 이곳 서버의 설정파일(몇개)를 보여주고 있습니다.
서버의 설정내용에 관한 질문은 먼저 이곳 서버의 설정내용을 참고하시길 바랍니다.

[*** 쓰기 금지단어 패턴 ***]
글 본문 중간에 업로드할 이미지를 추가하는 방법 : @@이미지이름@@
ex) @@foo.gif@@
2731 번 글의 답장글: Re: Re: Re: phpmyadmin..
글쓴이: 산이 [홈페이지] 글쓴날: 2007년 12월 18일 21:11:49 화(저녁) 조회: 2286

[초보서]님이 남기신 글:

>산이님 말씀대로 해보았는데
>
>마찬가지 에러메세지가 뜨더라구요
>
>2.11.3 버전
>
>config.sample.inc -> config.inc.php 명으로
>바꾸고
>
>
><?php
>
>/* $Id: config.sample.inc.php 9673 2006-11-03 09:05:54Z nijel $ */
>// vim: expandtab sw=4 ts=4 sts=4:
>
>/**
>* phpMyAdmin sample configuration, you can use it as base for 
>* manual configuration. For easier setup you can use scripts/setup.php
>*
>* All directives are explained in Documentation.html and on phpMyAdmin 
>* wiki .
>*/
>
>/* 
>* This is needed for cookie based authentication to encrypt password in

>* cookie
>*/
>$cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH!
*/
>
>/* 
>* Servers configuration
>*/
>$i = 0;
>
>/* 
>* First server
>*/
>$i++;
>/* Authentication type */
>$cfg['Servers'][$i]['auth_type'] = 'http';
>/* Server parameters */
>$cfg['Servers'][$i]['host'] = 'localhost';
>$cfg['Servers'][$i]['port'] = ''; /* 서비스 포트 기본값 */
>$cfg['Servers'][$i]['socket'] = ''; /* 소켓 기본값
>$cfg['Servers'][$i]['connect_type'] = 'tcp';
>$cfg['Servers'][$i]['compress'] = TRUE;
>/* Select mysqli if your server has it */
>$cfg['Servers'][$i]['extension'] = 'mysql';
>/* User for advanced features */
>$cfg['Servers'][$i]['controluser'] = 'pmausr';
>$cfg['Servers'][$i]['controlpass'] = 'pmapass';
>/* Advanced phpMyAdmin features */
>$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
>$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
>$cfg['Servers'][$i]['relation'] = 'pma_relation';
>$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
>$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
>$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
>$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
>$cfg['Servers'][$i]['history'] = 'pma_history';
>
>/* 
>* End of servers configuration
>*/
>
>/*
>* Directories for saving/loading files from server
>*/
>$cfg['UploadDir'] = '';
>$cfg['SaveDir'] = '';
>
>?>
>
>
>위 옵션으로 설정해줬는데
>
>제가 잘못한게 있나요?
>
>[산이]님이 남기신 글:
>
>>
>>[초보서]님이 남기신 글:
>>
>>>-----------------------------------------
>>>답변자가 기본적으로 참고할 내용입니다.
>>>- 배포판(옵션)    : 
>>>- 커널버전(옵션)
  : 
>>>- 데몬버전(예:apache
 1.3.27) : 
>>>- 데몬설치유형(RPM/컴파일/기타)
 : 
>>>-----------------------------------------
>>>*스팸필터링:한글
 2자(4개 문자)이상 없으면 스팸페이지로 이동합니다.
>>>
>>>phpmyadmin 사용이 mysql 버전이 업데이트되어 안되어
>>>
>>>2.11.3 버전을 설치해줬는데요

>>>
>>> * First server
>>> */
>>>$i++;
>>>/* Authentication type */
>>>$cfg['Servers'][$i]['auth_type'] = 'cookie';
>>>/* Server parameters */
>>>$cfg['Servers'][$i]['host'] = 'localhost';
>>>$cfg['Servers'][$i]['connect_type'] = 'tcp';
>>>$cfg['Servers'][$i]['compress'] = false;
>>>/* Select mysqli if your server has it */
>>>$cfg['Servers'][$i]['extension'] = 'mysql';
>>>/* User for advanced features */
>>>//$cfg['Servers'][$i]['controluser'] = '';
>>>//$cfg['Servers'][$i]['controlpass'] = '';
>>>/* Advanced phpMyAdmin features */
>>>// $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
>>>// $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
>>>// $cfg['Servers'][$i]['relation'] = 'pma_relation';
>>>// $cfg['Servers'][$i]['table_info'] = 'pma_table_info';
>>>// $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
>>>// $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
>>>// $cfg['Servers'][$i]['column_info'] = 'pma_column_info';
>>>// $cfg['Servers'][$i]['history'] = 'pma_history';
>>>// $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
>>>
>>>
>>>설정후 접속시
>>>
>>>
>>>Wrong permissions on configuration file, should not be world
writable!
>>>
>>>이렇게 뜨는데 아마 
>>>
>>>php 버전이 구버전이라 발생한 문제인가요? 
>>
>>========================================
>>위의 설정파일 퍼미션을 아파치 프로세스 유저(nobody 또는
apache)가 쓰지 못하도록 조정해보세요.
>>
>>예) chmod og-w 설정파일 
>
>======================================== 

========================================

위의 설명을 보니깐 scripts/setup.php 파일을 이용해보세요.

역시 퍼미션 문제입니다. 웹에서 설정파일을 수정할때는
쓰기권한이 있어야 하고, 그 반대로 설정이 모두 끝났을
경우에는 쓰기권한이 없어야 합니다.

그리고 $cfg['blowfish_secret'] 이 변수는 관련 문서를 보고 반드시
설정하세요.

 
이전글 : Re: Re: phpmyadmin..
다음글 : mysql ~! 패치  
 from 211.212.249.68
JS(Redhands)Board 0.4 +@

Re: Re: phpmyadmin.. mysql ~! 패치
인쇄용 


apache lighttpd linuxchannel.net 
Copyright 1997-2026. linuxchannel.net. All rights reserved.

Page loading: 0.02(server) + (network) + (browser) seconds