问题复现:
在编译php的时候,报错:
checking for cURL 7.15.5 or greater… configure: error: cURL version 7.15.5
问题解决
[root@xinsz08 php-7.3.6]# yum -y install curl-devel
然后重新编译即可:
[root@xinsz08 php-7.3.6]# './configure' '--prefix=/app/php' '--with-pdo-pgsql' '--with-zlib-dir' '--with-freetype-dir' '--enable-mbstring' '--with-libxml-dir=/root/data/php-7.3.6/ext/libxml' '--enable-soap' '--enable-calendar' '--with-curl' '--with-mcrypt