首页 > IT职业 > IT职场 > php编译时出现错误解决方法
1.
##错误 configure: error: xml2-config not found. Please check your libxml2 installation.
##解决 yum install -y libxml2-devel
##错误 configure: error: Cannot find OpenSSL's
##解决 yum install -y openssl-devel
3.
##错误 checking for BZip2 in default path... not found configure: error: Please reinstall the BZip2 distribution
##解决 yum install -y bzip2-devel
4.
##错误 configure: error: png.h not found.
##解决 yum install -y libpng libpng-devel
##错误 configure: error: freetype.h not found.
##解决 yum install -y freetype freetype-devel
6.
##错误 configure: error: mcrypt.h not found. Please reinstall libmcrypt.
##解决先安装第三方yum源 yum install -y epel-release
yum install -y libmcrypt-devel
7.##错误
error: Please reinstall the libcurl distribution -
easy.h should be in
##解决
yum -y install curl-devel
8..##错误 configure: error: jpeglib.h not found.
##解决 yum -y install libjpeg-devel
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/2831/viewspace-2805144/ ,如需转载,请注明出处,否则将追究法律责任。