And now? Advice Apache 1 users to copy php.ini to C:\windows (or C:\winnt for win NT/2k)?
Advice them to name the file php-apache.ini ;-)
Could not recall if the option for naming the inis like the used sapi is documented, if not it should.
main/config.w32.h: #define PHP_CONFIG_FILE_PATH (getenv("SystemRoot"))?getenv("SystemRoot"):""
Some Options for Apache 1:
a.): As you mentioned, copy to SYSTEMROOT
b.): Use PHPRC, can be mor than one location, e.g.: c:\; d:\; c:\php etc.
c.): copy ini file to the same folder apache.exe lives in (this also works for lbmysql.dll and libmysqli.dll)
b) is the only option: Use PHPRC!. Either we need to document the ways how people can set environment vars on different OSes (Win98, Me, XP, 2000, 2003, etc), or we need to find someplace to link to, where that info is available. The install part needs to be selfcontained (so people who download it can install the software without external instructions), so it is probably better to include a FAQ entry on how environment vars can be set.
Remember that you can also do a SetEnv in the apache config. Someone said it will work quite well, so it migh be a viable solution for Apache 1 users (not for IIS users, or people employing other servers).
Goba