【问题标题】:Error when trying to install Xdebug on Red Hat server尝试在 Red Hat 服务器上安装 Xdebug 时出错
【发布时间】:2021-10-20 07:03:57
【问题描述】:

我想在 Red Hat 服务器上安装 Xdebug。我按照出现在 xdebug.org/wizard 上的说明进行操作,但是当达到进入此行的阶段时:

./configure --with-php-config= /www/server/php/72/etc/php.ini

它在几行之后显示此错误:

checking build system type... Invalid configuration '/www/server/php/72/bin/php-config': machine '/www/server/php/72/bin/php' not recognized
configure: error: /bin/sh ./config.sub /www/server/php/72/bin/php-config failed

你能帮忙解决这个问题吗?

【问题讨论】:

    标签: php installation configuration xdebug


    【解决方案1】:

    解决了 我刚输入这个就解决了:

    ./configure --with-php-config=/www/server/php/72/bin/php-config

    我也通过“yum install php-devel”安装了 php-devel,但我认为这不是解决方案的一部分,因为我之前已经安装过它。 我认为问题出在 PATH 之前的“”并且路径错误

    【讨论】:

      猜你喜欢
      • 2011-07-18
      • 2012-12-01
      • 1970-01-01
      • 2019-03-21
      • 1970-01-01
      • 1970-01-01
      • 2012-10-15
      • 2015-08-28
      • 2013-04-14
      相关资源
      最近更新 更多