On 8 June 2011 20:47, Lester Caine <lester@xxxxxxxxxxx> wrote: > OK, I'm trying to set up my windows setup to work with separate .ini files > for each of the extra extensions as the Linux distributions do. I've got a > \conf\ directory with the php.ini in and then \conf\conf.d\ with a few > windows versions of the SUSE linux files. I can see references to > PHP_INI_SCAN_DIR and PHPIniScanDir but I can't find any definitive manual > page on what or how ... or am I barking up the wrong tree? You set the environment variable PHP_INI_SCAN_DIR to the right location. But there is a tiny bug in php. Type the following commands ... MD C:\ExtraInis ECHO display_startup_errors=1>C:\ExtraInis\extra.ini SET PHP_INI_SCAN_DIR=C:\ExtraInis php --ini php -i | find ".ini" The output is ... [08/06/2011 22:56:07] [C:\] [] >MD C:\ExtraInis [08/06/2011 22:56:15] [C:\] [] >ECHO display_startup_errors=1>C:\ExtraInis\extra.ini [08/06/2011 22:56:15] [C:\] [] >SET PHP_INI_SCAN_DIR=C:\ExtraInis [08/06/2011 22:56:15] [C:\] [] >php --ini Configuration File (php.ini) Path: C:\Windows Loaded Configuration File: C:\PHP5\php.ini Scan for additional .ini files in: (none) Additional .ini files parsed: C:\ExtraInis\extra.ini [08/06/2011 22:56:15] [C:\] [] >php -i | find ".ini" Configuration File (php.ini) Path => C:\Windows Loaded Configuration File => C:\PHP5\php.ini Scan this dir for additional .ini files => C:\ExtraInis Additional .ini files parsed => C:\ExtraInis\extra.ini user_ini.filename => .user.ini => .user.ini The php --ini output doesn't reflect the PHP_INI_SCAN_DIR setting. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php