How to locate php.ini file on server
PHP php.ini file
The php.ini file is also known as configuration file or you can say special file for PHP. The php.ini file is where you declare changes to your PHP settings.
Steps for locating php.ini file or configuration file on server
1. Create A PHP file with any name and type phpinfo() function as follows:
<?php //Info.php phpinfo(); ?>