[thelist] compile PHP for Win 2k??

Michael Pemberton mpember at phreaker.net
Sun Jul 6 03:18:46 CDT 2003


jsWalter wrote:

>Oh!
>
>Please, oh please enlighten me!
>
>Seriously.
>
>How can I tell php to look somewhere else besides c:\WINNT for the php.ini I
>want it to use?
>
>No one at the PHP lists has a different option. They all said live with it
>or recompile it.
>
>Please tell me!
>
>Thanks
>
>Walter
>
>  
>
Are you running it from the commandline?  If so, the documention (yes, I 
could have just writen RTFM :D ) makes reference to the following option:

  -c <path>|<file> Look for php.ini file in this directory


If you just wanted to override one setting, there's also this one:

  -d foo[=bar]     Define INI entry foo with value 'bar'




-- 
Michael Pemberton
evolt at mpember.net.au





More information about the thelist mailing list