为了账号安全,请及时绑定邮箱和手机立即绑定

centos 7 编译安装php7出错

centos 7 编译安装php7出错

PHP
GCT1015 2019-03-09 12:48:25
wget -O php7.tar.gz http://cn2.php.net/get/php-7....tar -zxvf php7.tar.gzcd 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到这都没问题运行后提示错误 请问如何解决
查看完整描述

4 回答

?
浮云间

TA贡献1829条经验 获得超4个赞

依赖没有解决好

yum install curl curl-devel -y
查看完整回答
反对 回复 2019-03-18
?
萧十郎

TA贡献1815条经验 获得超13个赞

错误提示系统没有cURL库,可以尝试按照依赖:

yum install curl*
查看完整回答
反对 回复 2019-03-18
  • 4 回答
  • 0 关注
  • 366 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信