본문 바로가기
Dev

PHPMyAdmin - mbstring error 해결방법

by ryush00 2012. 9. 13.

PHPMyAdmin 을 설치 후 실행했을 때 아래와 같은 에러 문구가 나타났을 경우 해결하는 방법

  The mbstring PHP extension was not found and you seem to be using multibyte charset.
  Without mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results.

-------------------------------------------------------------------

1. PHP를 RPM으로 설치한 경우 - YUM 을 이용한 방법

 
# yum install php-mbstring


-------------------------------------------------------------------

2. PHP를 소스로 설치한 경우

 
# ./configure --help
  --enable-mbstring       Enable multibyte string support - mbstring 옵션 설정이 있다.

# make clean - 이전의 컴파일 정보를 삭제한다.

# ./configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql
--with-config-file-path=/usr/local/apache/conf --with-exec-dir=/usr/local/apache/bin --enable-mbstring - 재컴파일시 --enable-mbstring 을 추가해준다.

# make && make install




--------------------------------


매우 좋은 방법이다.



원저작자 http://bban2.tistory.com/210


http://creativecommons.org/licenses/by-nc-nd/2.0/kr/

댓글