에러1 : Call to undefined function mb_substr() in ~~ 물리적인 주소 에러
에러2 : The mbstring extension is missing. Please check your PHP configuration.
이것은 php-mbstring 모듈을 설치하면 해결 됩니다.
yum install php-mbstring -y
위 명령어를 실행하면 php-mbstring 모듈을 설치하게 됩니다.
하지만 위 명령어로 설치가 안될 경우가 있습니다.
1. 먼저 리눅스 박스를 확인 업데이트 확인
yum update
Centos 6버전
wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -Uvh remi-release-6*.rpm
Centos 5버전
wget http://ftp.jaist.ac.jp/pub/Linux/Fedora/epel/5/x86_64/epel-release-5-4.noarch.rpm
rpm -ivh epel-release-5-4.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
rpm -Uvh remi-release-5*.rpm
php-mbstring 업데이트일 경우
yum --enablerepo=remi upgrade php-mbstring
php-mbstring 새로 설치일경우
yum --enablerepo=remi install php-mbstring
그리고 php.ini에 extension=php_mbstring.dll
모듈을 추가하고 아파치를 리스타트 하시면 됩니다.
https://www.lesstif.com/pages/viewpage.action?pageId=6979743
'리눅스' 카테고리의 다른 글
리눅스 php php-mcrypt 설치 No package php-mcrypt available (0) | 2016.02.01 |
---|---|
리눅스 최근 수정된 파일 쉘 상 변경 파일 찾기 atime mtime ctime (0) | 2016.01.06 |
리눅스 umask 파일/디렉터리 생성 권한주기 (0) | 2015.11.20 |
리눅스 특정 명령어 실행 권한 주기 Linux specific commands execute permissions period (0) | 2015.11.11 |
리눅스(linux) 바이너리(binary) 실행 막기( no run) (0) | 2015.11.11 |