【发布时间】:2014-01-16 15:21:38
【问题描述】:
堆栈:PHP 5.4.23、php-fpm、nginx 1.4.x、centos 6.5
我正在尝试安装 xdebug,不得不运行 phpize 命令。
我已经安装了 php5-devl 并且 pecl 命令可以工作
当我运行命令时,它给了我以下错误输出:
# phpize
Can't find PHP headers in /usr/include/php
The php-devel package is required for use of this command.
如何解决这个错误?
【问题讨论】:
-
PHP 标头是否位于
/usr/include/php?