thrift installation error


i am trying more than 2 hours to install thrift with cassandra but it is not even configured..when i am configure using command ./configure it show the error as: configure: error: Cannot find php-config. Please use --with-php-config=PATH configure: error: ./configure failed for lib/php/src/ext/thrift_protocol

i cant fix this. can any one help me.


make sure to install php-dev. it happened with me last weekend. good luck.


Same thing with Ubuntu Lucid. Installed php5-dev via apt-get and it works.


On CentOS 5.6, you're looking for php5-devel or php53-devel

installed by "yum install ...."


  • Alternative of deprecated hibernate getSession().connection()
  • Bring spell check window to foreground with JavaScript/JScript in Windows 7
  • NHibernate.QueryException with dynamic-component
  • SQL - Parsing a query
  • How to wrap string in span before and after all newlines in PHP?
  • how to synchronize web site content while loading page
  • in Gwt, there are 2 different packages (or 2 options) for doing drag n Drop? Which one is better?
  • iOS - open another application that exists on the phone?
  • Read specific column from Parquet without using Spark
  • Greedy Algorithm in “C”
  • Windows: How do I get the mode/access rights of an already opened file?
  • Simultaneous animation when entering editing mode of UITableViewCell
  • cSPADE data mining in R using arulesSequences - Error while converting to “transactions” format
  • 'Edit' function for forum posts and such
  • Generate and export point cloud from Project Tango
  • Ember.js + JQuery-UI Tooltip - Tooltip does not reflect the model / controller changes
  • Problems using phonegap / cordova file plugin part 2 - synchronicity
  • Ruby regex for matching simpliest Ruby's regexes
  • JQuery: Infinite input select
  • How to include associated objects using gon in Rails/jQuery
  • 'url' requires a non-empty first argument. The syntax changed in Django 1.5, see the docs
  • Make checkout phone field optional for specific countries in WooCommerce
  • calling IO Operations from thread in ruby c extension will cause ruby to hang
  • Angular 4: Responsive Grid List
  • Write to .csv file with PHP (Commas in Data Error)
  • Running R's aov() mixed effects model from Python using rpy2