我在 OS 10.11 上使用 xampp5.6.15。我按照此说明安装 xDebug。我的“量身定制的安装说明”如下:
在这个指令中,它没有提到将下载的 tgz 文件放在哪里,所以我只是将它放在downloads
文件夹中的位置,在我运行之后phpize
,输出是这样的:
grep:/usr/include/php/main/php.h:没有这样的文件或目录 grep:/usr/include/php/Zend/zend_modules.h:没有这样的文件或目录 grep:/usr/include/php/Zend /zend_extensions.h:没有这样的文件或目录配置:PHP Api 版本:
Zend 模块 Api 编号:
Zend 扩展 Api 编号:
找不到 autoconf。请检查您的 autoconf 安装和 $PHP_AUTOCONF 环境变量。然后,重新运行此脚本。
我想这是因为 xdebug 文件夹不在正确的位置,我尝试将它移动到xamppfiles/
andxamppfiles/modules/
和其他一些地方,但没有任何效果。
那么有什么问题呢?我应该把文件夹放在哪里?