【发布时间】:2021-11-18 19:17:19
【问题描述】:
您好,我尝试在 macox (Big Sur 11.5.2) 上通过 pecl 安装 xdebug 但我收到错误消息
xdebug volodymyr$ pecl install xdebug
downloading xdebug-3.0.4.tgz ...
Starting to download xdebug-3.0.4.tgz (215,870 bytes)
.............................................done: 215,870 bytes
87 source files, building
running: phpize
Configuring for:
PHP Api Version: 20190902
Zend Module Api No: 20190902
Zend Extension Api No: 320190902
Undefined subroutine &main::open_quote called at /usr/local/bin/autom4te line 262.
ERROR: `phpize' failed
我更新了 perl,但它确实帮助了我(如果 open_quote 是 perl 的一部分,我无法理解) 我也没有在互联网上找到任何与 open_quote 函数问题相关的信息
我尝试从源代码安装 xdebug 并在 ./phpize 步骤中遇到相同的错误
解决:
只需重新安装 autoconf automake libtool
我跑
brew reinstall autoconf automake libtool
之后我运行brew link --force autoconf,它解决了问题
【问题讨论】:
标签: xdebug macos-big-sur pecl xdebug-3 phpize