您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息
免费发信息

解决php编译中遇到各种error办法

2024/4/23 20:06:47发布4次查看
php编译安装碰到各种的问题了,我们这里整理了一篇关于解决php编译中遇到各种error办法的文章,希望此文章能够为各位带来帮助呀。
1) configure: error: xml2-config not found. please check your libxml2 installation.
solutions :
quote:
# yum install libxml2 libxml2-devel
2) checking for pkg-config… /usr/bin/pkg-config configure: error: cannot find openssl’s
solutions :
quote:
# yum install openssl openssl-devel
3) configure: error: please reinstall the bzip2 distribution
solutions :
quote:
# yum install bzip2 bzip2-devel
4) configure: error: please reinstall the libcurl distribution -easy.h should be in /include/curl/
solutions :
quote:
# yum install curl curl-devel
5) configure: error: libjpeg.(also) not found.
solutions :
quote:
# yum install libjpeg libjpeg-devel
6) configure: error: libpng.(also) not found.
solutions :
quote:
# yum install libpng libpng-devel
7) configure: error: freetype.h not found.
solutions :
quote:
#yum install freetype-devel
8) configure: error: unable to locate gmp.h
solutions :
quote:
# yum install gmp-devel
9) configure: error: cannot find mysql header files under /usr. note that the mysql client library is not bundled anymore!
solutions :
quote:
# yum install mysql-devel
10) configure: error: please reinstall the ncurses distribution
solutions :
quote:
# yum install ncurses ncurses-devel
11) checking for unixodbc support… configure: error: odbc header file ‘/usr/include/sqlext.h’ not found!
solutions :
quote:
# yum install unixodbc-devel
12) configure: error: cannot find pspell
solutions :
quote:
# yum install pspell-devel
13) configure: error: mcrypt.h not found. please reinstall libmcrypt.
solutions :
quote:
# yum install libmcrypt libmcrypt-devel
14) configure: error: snmp.h not found. check your snmp installation.
solutions :
quote:
# yum install net-snmp net-snmp-devel
15)configure: error: please reinstall libmhash – i cannot find mhash.h
#yum install mhash-devel
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录