我试图从源代码安装xdebug扩展,但是当我运行phpize命令时,会得到以下错误:
/Applications/XAMPP/xamppfiles/bin/phpize: line 61: grep: command not found
/Applications/XAMPP/xamppfiles/bin/phpize: line 62: grep: command not found
/Applications/XAMPP/xamppfiles/bin/phpize: line 63: grep: command not found
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
/Applications/XAMPP/xamppfiles/bin/phpize: line 145: mkdir: command not found
/Applications/XAMPP/xamppfiles/bin/phpize: line 147: cp: command not found
/Applications/XAMPP/xamppfiles/bin/phpize: line 148: cp: command not found
/Applications/XAMPP/xamppfiles/bin/phpize: line 149: cat: command not found
/Applications/XAMPP/xamppfiles/bin/phpize: line 199: touch: command not found
/Applications/XAMPP/xamppfiles/bin/phpize: line 106: chmod: command not found
/Applications/XAMPP/xamppfiles/bin/phpize: line 109: cat: command not found有什么想法吗?
发布于 2015-05-12 20:21:43
您似乎没有将"/bin“定义到PATH环境变量中。
在再次执行phpize之前尝试设置此选项:
export PATH="/bin:/usr/bin:$PATH"https://stackoverflow.com/questions/30200600
复制相似问题