Hello,

Shane Caraveo wrote:

SC> Yes, you can use the registry to do per-directory settings.
SC> 
SC> HKEY_LOCAL_MACHINE\SOFTWARE\PHP\Per Directory Values
SC> 
SC> Create keys for each directory, then add the entries.  So if you're
SC> website is at c:\inetpub\wwwroot, under the above key, add:
SC> 
SC> HKEY_LOCAL_MACHINE\SOFTWARE\PHP\Per Directory Values\c\inetpub\wwwroot\
SC> 
SC> Then add the ini entries.

It doesn't work well (or completely for me).
If I override 'include_path' (restart IIS) I can see the new local
setting reflected with phpinfo(). Great.
But if also override 'open_basedir' and 'upload_tmp_dir', both these
values keep their default global setting of 'no value' (there is indeed
no values set for these in PHP.INI).

Are there known bugs with this system ? Or could there be some
mis-understanding of how it works on my side ?

I defined three values in the key leaf corresponding to the root of the
website I wanted to test against :

include_path REG_SZ {the physical path of my website}
open_basedir REG_SZ {the same}
upload_tmp_dir REG_SZ {the same}

And obviously only the include_path is taken into account.
I do not know if it is only the first setting which is taken into
account or if there is something un-understood by me regarding the other
two, but it looks buggy.

Thanks in advance for any hint or suggestion !

-- 
Olivier Mascia <[EMAIL PROTECTED]>


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to