create a php file with this code <?php phpinfo(); ?> and php.ini file's location + others details will be available when you'll browse the file with a web browser.