I'm using PHP 7.2.8.
I've installed PHP using the latest version of XAMPP package which has also installed Apache/2.4.34 (Win32)
I come across the following text from the PHP Manual :
In addition to the main
php.ini
file, PHP scans for INI files in each directory, starting with the directory of the requested PHP file, and working its way up to the current document root (as set in$_SERVER['DOCUMENT_ROOT']
). In case the PHP file is outside the document root, only its directory is scanned.
The above text has created the following doubt in my mind which is as follows :
What the term used 'INI files' in the above text is referring to?
Whether it refers to the '.ini files' present in a directory which(the directory) is set at compile time by setting the --with-config-file-scan-dir
option, optionally, by an environment variable PHP_INI_SCAN_DIR
at run time or the '.user.ini-style INI files' like '.htaccess' files?