configure: error: Cannot find OpenSSL's <evp.h>
这个问题是缺少openssl-devel apt-get install libssl-dev 安装即可
checking for cURL 7.15.5 or greater... configure: error: cURL version 7.15.5 or later is required to compile php with cURL support
这个问题是cURL版本问题卸载重装下curl就好了
configure: error: DBA: Could not find necessary header file(s).
网上找了半天都说是少了这个包 libdb-dev 我的却不行 安装 libgdbm-dev 这个包才ok
Configure: error: libpng.(also) not found.
apt-get install libjpeg-dev libpng-dev
configure: error: freetype-config not found.
apt-get -y install libfreetype6-dev
configure: error: Please reinstall the libzip distribution
apt install libzip-dev
然后就没错误了, make && make install 完事