What is use of PHP.ini file? php. ini file is used as the default configuration file for running applications that are based on PHP. 22-August 9:24 PM 497 Views