On Sunday 01 August 2004 15:47, Nuno Lopes wrote:
> Hello,
[..]
> 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)
Friedhelm
--
http://www.jungle-world.com/