출처 : http://serverfault.com/questions/210889/installing-enabling-php-pecl-intl-extension-on-centos-5
해결방법 1.
sudo yum install libicu
sudo yum install libicu-devel.x86_64
sudo /usr/bin/pecl install intl
sudo echo 'extension=intl.so' >> /etc/php.ini
해결방법 2.
yum install libicu-devel
해결방법 3.
<pre style="margin-top: 0px; padding: 5px; border: 0px; overflow: auto; width: auto; max-height: 600px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; word-wrap: normal;">1) install icu & libs:
yum -y install icu libicu libicu-devel
2) php-devel package and phpize:
yum -y install php-devel phpize
3) and, of course gcc:
yum -y install gcc gcc-cpp gcc-c++
(+1 to yuri for gcc, gcc-cpp, and gcc-c++ , sorry can't comment due to no rating )
</pre>
'linux > APM' 카테고리의 다른 글
xml2-config not found. Please check your libxml2 installation. (0) | 2015.11.19 |
---|---|
Please reinstall the libcurl distribution - easy.h should be in <curl-dir>/include/curl/ (0) | 2015.11.19 |
php 설치 에러 configure: error: mcrypt.h not found. Please reinstall libmcrypt. (0) | 2015.11.19 |
CentOS 웹서버 구축 [APM-Source 설치] - 번외 (0) | 2015.11.19 |
CentOS 웹서버 구축 [APM-Source 설치] - 2 (0) | 2015.11.19 |