Can't find PHP headers in /usr/include/php
# pecl install Seaslog
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading SeasLog-1.2.3.tgz ...
Starting to download SeasLog-1.2.3.tgz (66,692 bytes)
.................done: 66,692 bytes
22 source files, building
running: phpize
Can't find PHP headers in /usr/include/php
The php-devel package is required for use of this command.
ERROR: `phpize' failed
没有找到相关结果
已邀请:
1 个回复
空心菜 - 心向阳光,茁壮成长
你可以安装xdebug定位问题,如下步骤:
1.安装php命令执行的开发包
如果是php5.4的话,如下安装
php5.4安装如下
2.安装GCC和c++编译器GCC用来编译php的Xdebug扩展
3.编译Xdebug
4.查找php.ini
5.重启Apache
6.创建test.php测试Xdebug的工作原理