How to find the location of php.ini on our server ?

Location of php.ini you can find in your phpinfo report.

1. Try to create simple php file called info.php with content:
<?php
phpinfo();
?>
2. Copy this file to your web server.
3. Than open this php file with your browser.

Inside report you will see path to php.ini in row called
Configuration File (php.ini) Path.