温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

php常见错误总结

发布时间:2020-06-22 10:03:37 来源:网络 阅读:559 作者:huanjie6 栏目:web开发

错误一: 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)


向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI