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.


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.