so i just should create a directory phpcassa in the location /etc/php5/conf.d/  and  in phpcassa just create a file php.ini and include the line extension=thrift_protocol.so in it????

Thanks and Regards,
Amrita

On Wed, Jun 1, 2011 at 10:44 AM, Marcus Bointon <marcus@synchromedia.co.uk> wrote:
On 1 Jun 2011, at 07:03, Amrita Jayakumar wrote:

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

None! I'd put it by itself in a /etc/php5/conf.d/phpcassa then it will be used by all environments and you won't be troubled by it when you do package updates in future.
All the ones in /usr/share are examples. Ideally the ones in /etc/php5 will be approximately copies of the production examples.

Marcus