Php 将带PECL的xDebug安装在高负载上
我刚把我的mac电脑从Sierra升级到High Sierra。我在下面安装了PECL,我想安装Php 将带PECL的xDebug安装在高负载上,php,xdebug,Php,Xdebug,我刚把我的mac电脑从Sierra升级到High Sierra。我在下面安装了PECL,我想安装xdebug运行PECL安装xdebug 输出 79源文件,正在运行的构建:phpize grep: /usr/include/php/main/php.h:没有这样的文件或目录grep /usr/include/php/Zend/Zend_modules.h:没有这样的文件或目录grep: /usr/include/php/Zend/Zend_extensions.h:没有这样的文件或目录 配置:P
xdebug
运行PECL安装xdebug
输出
79源文件,正在运行的构建: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扩展
空气污染指数
/private/tmp/pear/install/pear-build-rootPkeU2l/xdebug-2.6.0运行:
/private/tmp/pear/install/xdebug/configure
--使用php config=/usr/bin/php config/private/tmp/pear/install/xdebug/xdebug.c:25:10:致命错误:“php.h”
找不到文件
包括“php.h”
生成1个错误。make:**[xdebug.lo]错误1错误:“make”失败
问题:
我觉得我可能在安装PECL的过程中做错了什么。。。
我该怎么办
飞鸟
PHP 7.1.16(cli)(构建时间:2018年3月31日02:59:59)(NTS)版权所有(c)
1997-2018 PHP Group Zend Engine v3.1.0版权所有(c)1998-2018
Zend技术公司
需要运行这个
xcode-select --install
在OP的问题中,什么会让你这么说?
xcode-select --install