Hrmmm...

Very clever! Just checked out php.exe, and indeed you can specify a path
to php.ini:

E:\PHP>php.exe -h
Usage: php [-q] [-h] [-s [-v] [-i] [-f <file>] |  {<file> [args...]}
  -q             Quiet-mode.  Suppress HTTP Header output.
  -s             Display colour syntax highlighted source.
  -w             Display source with stripped comments and whitespace.
  -f <file>      Parse <file>.  Implies `-q'
  -v             Version number
  -C             Do not chdir to the script's directory
  -c <path>      Look for php.ini file in this directory
  -a             Run interactively
  -d foo[=bar]   Define INI entry foo with value 'bar'
  -e             Generate extended information for debugger/profiler
  -z <file>      Load Zend extension <file>.
  -l             Syntax check only (lint)
  -m             Show compiled in modules
  -i             PHP information
  -h             This help

So '-c' is the baby. I'll have to give this a try. Think it'll only work
the the CGI version, 'though...

M



> -----Original Message-----
> From: Luis Ferro [mailto:[EMAIL PROTECTED]]
> Sent: 16 December 2002 17:05
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] Per site php.ini
> 
> 
> Check in the install.txt how to install php in the IIS 
> manually and as 
> an ISAPI.
> 
> Then, when need to change the ISAPI configuration in the site 
> that you 
> need to use PHP, just add in front of the php.exe the 
> commands to use a 
> specific php.ini file...
> 
> Exact details eludes me now... but hope that this hints will 
> lead you to 
> the solution...
> 
> Cheers,
> Luis Ferro
> Teladigital.net
> 
> 
> ---
> [This E-mail scanned for viruses by Declude Virus]
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to