The location can vary depending on the server. If it's a linux server you could use the locate command perhaps to find it:

locate php.ini

That should give you it's location.