php config 에러
출처 http://cafe.naver.com/servermaster/44711> configure: error: xml2-config not found. Please check your libxml2 installation
--->#yum install libxml2 libxml2-devel
2> Checking for pkg-configㆍㆍㆍ/usr/bin/pkg-config
configure: error:Cannot find OpenSSL's
--->#yum install openssl openssl-devel
3> Configure: error: Please reinstall the BZip2 distribution
--->#yum install bzip2 bip2-devel
4> Configure: error:Please reinstall the libcurl distribution -
easy.h should be in /include/curl/
--->#yum install curl curl-devel
5> Configure: error: libjpeg.(also) not found.
--->#yum install libjpeg libhpeg-devel
6> Configure: error:libpng.(also) not found.
--->#yum install libpng libpng-devel
7> Configure: error: freetype.h not found.
--->#yum install freetype-devel
8> Configure: error: Unable to locate gmp.h
--->#yum install gmp-devel
9> Configure: error: Cannot find MySQL header files under /usr.Note that the MySQL client library is not bundled anymore!
--->#yum install mysql-devel
10> Configure: error: Please reinstall the ncurses distribution
--->#yum install ncurses ncurses-devel
11> Checking for unixODBC supportㆍㆍㆍ configure: error: ODBC header
--->#yum install unixODBC-devel
12> Configure: error: Cannot find pspell
--->#yum install pspell-devel
13> Configure: error: mcrypt.h not found. Please reinstall libmcrypt.
--->#yum install libmcrypt libmcrypt-devel
14> Configure: error: snmp.h not found. Check your SNMP installation.
--->#yum install net-snmp net-snmp-devel
15> Error: libmhash
#yum install libmhash
#yum install mhash-devel
16> Configure: error: Cannot find MySQL header files under /usr.Note that the MySQL client library is not bundled anymore!
--->#yum install mysql-devel
17> Configure: error: Please reinstall ming distribution. libming.(also)not found
- temp remove the config for '-with-ming=/opt/ming/'
18> Configure: error: Cannot find pspell
--->#yum install pspell-devel
19> Configure: error: Cannot find mm library
#wget ftp://ftp.ossp.org/pkg/lib/mm/mm-1.4.2.tar.gz
Extract it: tar -zxvf mm-1.4.2.tar.gz
#./configure
#make
#make install
20> Configure: error: Cannot find libtidy
#yum install libtidy-devel
#yum install libtidy
change path at configure: '-with-tidy=/usr'
21> Configure: error: not found. Please reinstall the expat distribution.
#yum install expat-devel
22> Configure: error: xslt-config not found. please reinstall the libxslt >= 1.1.0 distribution
#yum install libxslt-devel