Where php.ini file located on server
The location of php.ini file si depended upon apache web server installed or the version of the php you are using.
But using phpinfo function you can easily find its location on the server.Create an phpinfo.php file on your server and copy paste the given code in your phpnfo.php file.
<?php phpinfo(); ?>;
Now you will see the screen on your browser like this ,here you will find the your php.ini file location on the server.In screen you will seen the “Loaded Configuration File” is the location of your php.ini file.
You will also directly find out the php.ini file on your FTP ,the path of your php.ini file is
This will help out you to find php.ini file path.