【发布时间】:2011-05-03 21:31:36
【问题描述】:
我尝试使用 cassandra 安装 thrift 超过 2 小时,但它甚至没有配置..当我使用命令 ./configure 进行配置时,它显示错误为: 配置:错误:找不到 php-config。请使用 --with-php-config=PATH 配置:错误:./configure failed for lib/php/src/ext/thrift_protocol
我无法解决这个问题。谁能帮帮我。
【问题讨论】:
我尝试使用 cassandra 安装 thrift 超过 2 小时,但它甚至没有配置..当我使用命令 ./configure 进行配置时,它显示错误为: 配置:错误:找不到 php-config。请使用 --with-php-config=PATH 配置:错误:./configure failed for lib/php/src/ext/thrift_protocol
我无法解决这个问题。谁能帮帮我。
【问题讨论】:
确保安装 php-dev。上周末发生在我身上。祝你好运。
【讨论】:
Ubuntu Lucid 也是如此。通过 apt-get 安装 php5-dev 就可以了。
【讨论】:
在 CentOS 5.6 上,您正在寻找 php5-devel 或 php53-devel
由“yum install ....”安装
【讨论】: