且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

php安装报错

更新时间:2022-09-11 22:13:57

1.error: xml2-config not found. Please check your libxml2 installation.
解决办法:
yum install -y libxml2-devel.x86_64

2.error: Cannot find OpenSSL's <evp.h>
yum install -y openssl-devel.x86_64

3.error: Please reinstall the BZip2 distribution
yum install -y bzip2-devel.x86_64

4.error: jpeglib.h not found.
yum install -y libjpeg-turbo-devel.x86_64

5.error: png.h not found.
yum install -y libpng-devel.x86_64

6.error: freetype-config not found.
yum install -y freetype-devel.x86_64

7.error: mcrypt.h not found. Please reinstall libmcrypt.
yum install -y epel-release
yum install -y libmcrypt-devel

8.error: Please reinstall the libcurl distribution -
easy.h should be in <curl-dir>/include/curl/
yum install -y libcurl-devel.x86_64



本文转自 虾米的春天 51CTO博客,原文链接:http://blog.51cto.com/lsxme/2048011,如需转载请自行联系原作者