Hello Guys,
If you want to edit the php.ini file on server and don't know correct location of php.in file then this post will help you. Below is the command to find location of php.ini server file.
Quote#php -i | grep php.ini
It will show the path as like below.
Quote# php -i | grep php.ini
Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => /usr/local/lib/php.ini
Now you got the location of file, you can edit your php setting for server.
Enjoy !!