View Single Post

  #7 (permalink)  
Old 11-16-2004
2metre
 
Posts: n/a
Default Re: Is it possible to enforce changed in php.ini without re-booting(w2k)?

Donnie wrote:
> aa wrote:
>
>> Is it possible to enforce changed in php.ini without re-booting (w2k)?
>>
>>

> If your using the CGI any changes you make will be effective immediately
> because the CGI looks at php.ini every time it is accessed. If you're
> using a module (e.g. ISAPI) then as stated you simply need to restart
> your web server.
>

Can you confirm that PHP as CGI reads local php.ini files? I was under
the impression (think i read somewhere) PHP as CGI will only read the
main php.ini.

I have just tried a few tests and was unable to get php as CGI to read a
local php.ini (tried putting one in the document root directory for a
site, then tested with phpinfo.)
Reply With Quote