为了账号安全,请及时绑定邮箱和手机立即绑定

php常见错误总结

标签:
PHP

错误一: Configure: error: xml2-config not found. Please check your libxml2 installation.

Solutions :

yum install libxml2 libxml2-devel (For Redhat & Fedora)



错误二: Checking for pkg-config… /usr/bin/pkg-config

configure: error: Cannot find OpenSSL’s

Solutions :

yum install openssl openssl-devel



错误三:Configure: error: Please reinstall the BZip2 distribution

Solutions :

yum install bzip2 bzip2-devel



错误四: Configure: error: Please reinstall the libcurl distribution -

easy.h should be in /include/curl/

Solutions :

yum install curl curl-devel (For Redhat & Fedora)

# install libcurl4-gnutls-dev (For Ubuntu)



错误五:Configure: error: libjpeg.(also) not found.

Solutions :

yum -y install gd

yum -y install gd-devel

yum install libjpeg libjpeg-devel



错误六: Configure: error: libpng.(also) not found.

Solutions :

yum install libpng libpng-devel



错误七: Configure: error: freetype.h not found.

Solutions :

yum install freetype-devel

Configure: error: Unable to locate gmp.h

Solutions :

yum install gmp-devel



错误八: Configure: error: Cannot find MySQL header files under /usr.

Note that the MySQL client library is not bundled anymore!

Solutions :

yum install mysql-devel (For Redhat & Fedora)


点击查看更多内容
TA 点赞

若觉得本文不错,就分享一下吧!

评论

作者其他优质文章

正在加载中
  • 推荐
  • 评论
  • 收藏
  • 共同学习,写下你的评论
感谢您的支持,我会继续努力的~
扫码打赏,你说多少就多少
赞赏金额会直接到老师账户
支付方式
打开微信扫一扫,即可进行扫码打赏哦
今天注册有机会得

100积分直接送

付费专栏免费学

大额优惠券免费领

立即参与 放弃机会
意见反馈 帮助中心 APP下载
官方微信

举报

0/150
提交
取消