Re: Settings per virtual site on IIS ?
| From: | Shane Caraveo | Date: | Mon, 31 Dec 2001 18:27:49 +0000 |
| Subject: | Re: Settings per virtual site on IIS ? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-11240@lists.php.net to get a copy of this message | ||
Yes, you can use the registry to do per-directory settings.
HKEY_LOCAL_MACHINE\SOFTWARE\PHP\Per Directory Values
Create keys for each directory, then add the entries. So if you're
website is at c:\inetpub\wwwroot, under the above key, add:
HKEY_LOCAL_MACHINE\SOFTWARE\PHP\Per Directory Values\c\inetpub\wwwroot\
Then add the ini entries.
Olivier Mascia wrote:
>
> Hello,
>
> Is there some mechanism with PHP 4.1 on Win32/IIS (ISAPI module)
> allowing to define some initialisation settings per website ?
>
> Something along the line of Apache php_value/php_flag instructions that
> can be set in its httpd.conf file within virtual-sites settings :
>
> php_value include_path ".:/usr/local/lib/php"
> php_flag safe_mode on
>
> Or possibility to have the ISAPI module load an additional php.ini local
> to the site in addition to the global one in %SYSTEM% ?
>
> phpinfo() lists "local" settings and "global" settings.
> Are those necessarily the same with PHP ISAPI on IIS ?
>
> Thanks for any answer or suggestions,
> --
> Olivier Mascia <om@mascia.biz>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net