标签:please red error curl gcc load make term not
错误一:configure: error: cURL version 7.10.5 or later is required to compile php with cURL support
方法一:
#wget https://curl.haxx.se/download/curl-7.20.0.tar.gz
#tar -xzvf curl-7.20.0.tar.gz
#cd curl-7.20.0
#./configure(如果有错,提示没有c相关的编译器,执行#yum install gcc命令)
#make&&make install
方法二:
php7.0.27以上 curl需要单独安装:
yum -y install curl-devel
就OK啦~
configure: error: jpeglib.h not found.
解决办法:
yum -y install libjpeg-devel
configure: error: png.h not found.
解决办法:
yum install libpng libpng-devel -y
configure: error: freetype-config not found.
解决办法:
yum install freetype-devel
configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution
解决办法:
yum -y install libxslt libxslt-devel
大功告成
标签:please red error curl gcc load make term not
原文地址:http://blog.51cto.com/13581826/2316136