Re: windows install
| From: | Friedhelm Betz | Date: | Sun, 01 Aug 2004 14:06:31 +0000 |
| Subject: | Re: windows install | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969362438@lists.php.net to get a copy of this message | ||
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/