Create a file with <?php phpinfo(); ?> in it. 
View it in your browser
In the first section see where it is loading php.ini from

Failing that http://www.php.net/

On Jun 1, 2011 7:04 AM, "Amrita Jayakumar" <amritajayakumarcp@gmail.com> wrote:
> Hi Maki,
> I have extracted phpcassa-0.7.a.4 and now i am trying to
> configure the C extension.
> For that as per the link mentioned by you, i've installed it. now what is
> left is to add the line
>
> *extension=thrift_protocol.so*
>
> into the *php.ini* file. But wen i fired *locate php.ini* i got many of them
> in the following locations.
>
> /etc/php5/apache2/php.ini
> /etc/php5/cgi/php.ini
> /etc/php5/cli/php.ini
> /usr/share/doc/php5-common/examples/php.ini-development
> /usr/share/php5/php.ini-production
> /usr/share/php5/php.ini-production-dist
> /usr/share/php5/php.ini-production.cli
>
> So into which file should i add it???
>
> Thanks and Regards,
> Amrita
>
>
> On Tue, May 31, 2011 at 7:48 PM, Maki Watanabe <watanabe.maki@gmail.com>wrote:
>
>> http://thobbs.github.com/phpcassa/installation.html
>>
>> They also have mailing list and irc channel.
>> http://thobbs.github.com/phpcassa/
>>
>> maki
>>
>>
>> 2011/5/31 Amrita Jayakumar <amritajayakumarcp@gmail.com>:
>> > I have log files of the format <id> <key> <value>. I want to load these
>> > files into cassandra using PHPcassa.
>> > I have installed Cassandra 7. Can anyone please guide me with the exact
>> > procedures as in how to install PHPcassa and take things forward?
>> >
>> > Thanks and Regards,
>> > Amrita
>> >
>>
>>
>>
>> --
>> w3m
>>