gpt4 book ai didi

php - 尝试安装 xdebug : configure file not found

转载 作者:IT王子 更新时间:2023-10-29 00:54:54 24 4
gpt4 key购买 nike

我正在按照这些说明下载 xdebug:http://xdebug.org/wizard.php .向导的输出是这样的:

Summary

Xdebug installed: no
Server API: Apache 2.0 Handler
Windows: no
Zend Server: no
PHP Version: 5.4.17
Zend API nr: 220100525
PHP API nr: 20100525
Debug Build: no
Thread Safe Build: no
Configuration File Path: /bitnami/mampstack-osx-x64/output/php/lib
Configuration File: /Applications/mampstack-5.4.17-2/php/etc/php.ini
Extensions directory: /Applications/mampstack-5.4.17-2/php/lib/php/extensions

给出这些指示

  1. 下载xdebug-2.2.3.tgz
  2. 使用 tar -xvzf xdebug-2.2.3.tgz 解压下载的文件
  3. 运行:cd xdebug-2.2.3 运行:phpize(如果您没有 phpize,请参阅常见问题解答。
  4. 运行:./configure

到第 4 步为止一切正常。在第 4 步中,我得到了

MyMacBookAir$ ./configure
-bash: ./configure: No such file or directory

如果我查看 xdebug-2.2.3,我会看到没有名为 configure 的文件——但我确实看到了一个名为 configure.in 的文件。我得到的是缺少配置文件的 .tgz 吗?还是我没有正确理解说明的某些部分?

最佳答案

实际上这可能是 phpize 命令的问题如果它提示 autoconf(“无法找到 autoconf”)然后尝试下一步

curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-latest.tar.gz
tar xzf autoconf-latest.tar.gz
cd autoconf-*
./configure --prefix=/usr/local
make
sudo make install

关于php - 尝试安装 xdebug : configure file not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18559171/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com