ITPub博客

首页 > IT职业 > IT职场 > php编译时出现错误解决方法

php编译时出现错误解决方法

IT职场 作者:cbjly 时间:2021-09-09 09:36:43 0 删除 编辑

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 /include/curl/

##解决

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/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: PHP编译错误
请登录后发表评论 登录
全部评论

注册时间:2019-08-16

  • 博文量
    85
  • 访问量
    715