centos 7 编译安装php7出错

wget -O php7.tar.gz http://cn2.php.net/get/php-7....
tar -zxvf php7.tar.gz
cd php-7.1.1

./configure \
--prefix=/usr/local/php \
--with-config-file-path=/usr/local/php/etc \
--with-config-file-scan-dir=/usr/local/php/conf.d \
--with-mysql=shared,mysqlnd \
--with-mysqli=shared,mysqlnd \
--with-pdo-mysql=shared,mysqlnd \
--with-iconv-dir \
--with-freetype-dir \
--with-jpeg-dir \
--with-png-dir \
--with-zlib \
--with-libxml-dir \
--enable-xml \
--enable-discard-path \
--enable-magic-quotes \
--enable-safe-mode \
--enable-bcmath \
--enable-shmop \
--enable-sysvsem \
--enable-inline-optimization \
--with-curl \
--enable-mbregex \
--enable-fastcgi \
--enable-fpm \
--enable-force-cgi-redirect \
--enable-mbstring \
--with-mcrypt \
--enable-ftp \
--with-gd \
--enable-gd-native-ttf \
--with-mhash \
--enable-pcntl \
--enable-sockets \
--with-xmlrpc \
--enable-zip \
--enable-soap \
--with-gettext \
--with-mime-magic
到这都没问题
运行后提示错误
https://img2.mukewang.com/5c8f65be0001b46e08000128.jpg

请问如何解决

GCT1015
浏览 367回答 4
4回答

浮云间

依赖没有解决好 yum install curl curl-devel -y

萧十郎

错误提示系统没有cURL库,可以尝试按照依赖: yum install curl*
打开App,查看更多内容
随时随地看视频慕课网APP