How to install phpmyadmin on Centos > MySQL Tip

본문 바로가기
 

How to install phpmyadmin on Centos

페이지 정보

작성자 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 댓글 1건 조회 21,652회 작성일 10-08-21 00:14

본문

How to install phpmyadmin on Centos

 
February 17, 2010 · Posted in Linux, Open Source, Uncategorized, centos 
phpMyAdmin is an open source tool written in PHP intended to handle the administration of MySQL over the World Wide Web. It can perform various tasks such as creating, modifying or deleting databases, tables, fields or rows; executing SQL statements; or managing users and permissions. (Info from http://www.phpmyadmin.net)
How to install phpmyadmin? Before you install phpmyadmin, you need to install your LAMP 1st. Once you install, just follow below steps:-
  1. $ su -
  2. # cd /var/www/html
  3. # wget http://downloads.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.3.0-rc1/phpMyAdmin-3.3.0-rc1-all-languages.zip?use_mirror=nchc
  4. # unzip phpMyAdmin-3.3.0-rc1-all-languages.zip
  5. # mv phpMyAdmin-3* phpmyadmin
  6. # cd phpmyadmin
  7. # cp config.sample.inc.php config.inc.php
  8. # vi config.inc.php
    :
    $cfg['Servers'][$i]['auth_type'] = ‘http‘; # default is cookies
  9. Restart Apache
    # service httpd restart
Run your phpmyadmin by following link:
http://your.domain.com/phpmyadmin/ or http://ipaddress/phpmyadmin/
phpmyadmin fail to start?
When you type above link, your phpmyadmin fail to start and show following error message:
PHP 5.2+ is required
To solve this issue, you need to upgrade your PHP 5.1 to PHP 5.2. But, on CentOS is no simple ‘yum’ upgrades to update your PHP 5.1.6 to PHP 5.2.6. you need to add Repository to your yum
Just follow below steps:
nano -w /etc/yum.repos.d/utterramblings.repo
... and then paste the following into the editor:
[utterramblings]
name=Jason's Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
After that, just save it.
Now you should able to upgrade your PHP.
 
yum update php
 
 :-)

댓글목록

차동박님의 댓글

no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 작성일

vi  /etc/yum.repos.d/utterramblings.repo

... and then paste the following into the editor:

[utterramblings]
name=Jason's Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

Total 57건 2 페이지
MySQL Tip 목록
번호 제목 글쓴이 조회 날짜
39 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 16555 02-17
38 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 14893 02-16
37 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 22293 02-09
열람중 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 21653 08-21
35 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 25187 07-06
34 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 26763 04-24
33 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12309 09-28
32 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 14689 09-27
31 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 40733 08-16
30 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12008 03-11
29 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 16348 03-01
28 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12150 03-01
27 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 55066 02-22
26 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 14817 02-11
25 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 11547 11-14
24 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13541 11-14
23 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 30320 10-31
22 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 21576 10-30
게시물 검색