简体   繁体   中英

XAMPP - “Scan this dir for additional .ini files”

I have XAMPP running on my system in Windows environment.. However, I never got "Scan this dir for additional .ini files" to load any additional php.ini file that I have in my projects... How do I do that in Windows environment?

Is there a way to do that?

It's not really documented but the --with-config-file-scan-dir compile option. Meaning you'd have to build your own version of PHP to set that directory. Kind of late but the compiler option will just set the default location. Compiling PHP every time you want to change that would be painful. You can use the PHP_INI_SCAN_DIR env variable to make it happen.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM