I'm using Windows 10 Home Single Language 64-bit Operating System on my machine.
I've installed the latest copy of XAMPP server on my machine which ships with PHP 7.2.7
I read following pages from the PHP Manual :
- Scan directories
- .user.ini files
After reading the text from these two pages one doubt came to my mind :
To scan the configuration INI files on a per-directory basis(in my case '.htaccess files') by PHP is it mandatory to run PHP on CLI with the --with-config-file-scan-dir
option and then by overriding at run time by setting the PHP_INI_SCAN_DIR
environment variable?
Or do such configuration INI files on a per-directory basis(in my case '.htaccess files') get scan by PHP automatically?
If yes, then please explain me how the setting made in one environment(i.e. CLI) has effect in an entirely different environment(i.e. SAPI)?
If no, then please clear my confusion with some suitable example.