How to install phpmyadmin on Centos > MySQL Tip

본문 바로가기
 

How to install phpmyadmin on Centos

페이지 정보

작성자 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 댓글 1건 조회 21,660회 작성일 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 243건 2 페이지
MySQL Tip 목록
번호 제목 글쓴이 조회 날짜
225 차동박 이름으로 검색 23793 03-05
224 차동박 이름으로 검색 23599 10-27
223 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 23063 04-28
222 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 22508 07-08
221 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 22357 10-29
220 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 22304 02-09
219 차동박 이름으로 검색 22100 08-07
218 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 22059 02-05
217 차동박 이름으로 검색 21982 09-14
216 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 21924 10-22
215 차동박 이름으로 검색 21909 02-08
214 차동박 이름으로 검색 21864 12-27
213 차동박 이름으로 검색 21700 10-19
열람중 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 21661 08-21
211 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 21624 05-24
210 no_profile 차동박 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 21587 10-30
209 차동박 이름으로 검색 21519 10-11
208 차동박 이름으로 검색 21166 03-05
게시물 검색