安装PHP扩展,提示checking Check for supported PHP versions... configure: error: not supported.

环境centos 6.5。php 7.0.4

现在的问题是,本地环境已经是7.0.4但是提示版本不符合要求,如果说php本地版本本来就没有达到版本要求,则换扩展包,或者升级php

本地的真实环境
[root@localhost xdebug-2.5.5]# php -v
PHP 7.0.4 (cli) (built: Feb 24 2017 05:55:31) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies

安装Xdebug扩展,执行./configure 外挂时提示:
checking Check for supported PHP versions… configure: error: not supported. Need a PHP version >= 5.5.0 and < 7.2.0 (found 5.4.45)

最后使用 ./configure -with-php-config=/usr/local/php7/bin/php-config

checking dynamic linker characteristics… GNU/Linux ld.so
checking how to hardcode library paths into programs… immediate
checking whether stripping libraries is possible… yes
checking if libtool supports shared libraries… yes
checking whether to build shared libraries… yes
checking whether to build static libraries… no

creating libtool
appending configuration tag “CXX” to libtool
configure: creating ./config.status
config.status: creating config.h
执行成功。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值