CentOS6 phpMyAdmin 직접 최신 업데이트 방법
페이지 정보
작성자 sbLAB 댓글 0건 조회 7,753회 작성일 18-11-21 19:05본문
0. 기존에 phpMyAdmin 5.0 이 설치 되어 있는 상태에서 시작한 내용임
https://www.phpmyadmin.net/ 에서 최신버젼[4.8.3] 다운로드
CentOS6 /usr/share/phpMyAdmin/ 에 압축해제 복사[기존 폴더명 변경 ex) phpMyAdmin_backup_5.0]
-----------------------------------------------------------
config.inc.php 수정 [config.sample.inc.php 파일 이름을 변경하여 사용]
-------------------------------------------------------------
$cfg['blowfish_secret'] = 'This is needed for cookie based authentication to encrypt password in cookie. Needs to be 32 chars long';
/usr/share/phpMyAdmin/ 아래에 tmp 폴더 생성 하고 tmp 폴더에 퍼미션 777 설정
/usr/share/phpMyAdmin/tmp/
[아래 추가확인]
# conf.d로 이동한후 phpMyAdmin.conf를 열고 설정을 수정.
cd /etc/httpd/conf.d/
vi phpMyAdmin.conf
Alias /p****웹사이트경로명 /usr/share/phpMyAdmin
Alias /p****웹사이트경로명 /usr/share/phpMyAdmin
<Directory /usr/share/phpMyAdmin/>
AddDefaultCharset UTF-8
<IfModule mod_authz_core.c>
# Apache 2.4
<RequireAny>
Require ip 127.0.0.1
Require ip ::1
</RequireAny>
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Deny from All
Allow from All
Allow from ::1
</IfModule>
</Directory>
댓글목록
등록된 댓글이 없습니다.