On Sunday 01 August 2004 17:54, Gabor Hojtsy wrote:
> >>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!

I thought about twice and I wonder why it is preferable to use PHPRC instead 
just copy php-(sapiname).ini to SYSTEMROOT?

Using PHPRC is indeed nice but seems to be a superfluous hurdle for newbies.
We do not talk about 'copy dlls' just one/two ini-files to SYSTEMROOT. Nothing 
wrong with that, IMHO.

Friedhelm

-- 
http://www.jungle-world.com/

Reply via email to