解决php编译报错configure: error: Cannot find OpenSSL's

报错:Cannot find OpenSSL's

解决:yum install -y openssl openssl-devel

 

报错:configure: error: cURL version 7.10.5 or later is required to compile php with cURL support

解决:安装curl-devel 

yum install curl-devel

报错:checking whether to enable JIS-mapped Japanese font support in GD... no
If configure fails try --with-webp-dir=


If configure fails try --with-jpeg-dir=
configure: error: png.h not found

解决:yum install libpng -y

yum install libpng-devel -y

报错:configure: error: freetype.h not found.

解决:yum -y install freetype-devel

报错:configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution

解决:yum -y install libxslt libxslt-devel

你可能感兴趣的:(php)