In the configuration file path or in the loaded configuration file, the location of php.ini should be visible. In most cases, the file will be placed at the initial location. Otherwise, it will be in the second place if PHP is installed as a module.