Click to See Complete Forum and Search --> : Php_value on IIS
newtonimaj
07-28-2004, 12:49 PM
Hello,
I have just installed php on a IIS 5.
I have two virtual websites and I need to have different php parameters for each site.
Apache uses php_value in the htaccess or the virtualhost of the httpd.conf but how to make it under IIS.
I do not find any doc.
Thank you
tsinka
08-04-2004, 02:54 AM
Hi,
you can set theses values by editing the registry.
Read the manual section
Changing PHP configuration via the Windows registry (http://www.php.net/manual/en/configuration.changes.php#configuration.changes.windows)
I think there is no other way to set these values on windows.
Thomas
MarkR
08-04-2004, 05:07 AM
Some directives can be set in PHP code using ini_set(), but others can't.
So if it's another kind, you have to either set it in php.ini or in the registry.
If using the registry, make sure to fully document the procedure for the server administrators (or provide a .reg file, or both).
There's nothing worse than a cluster with different configurations on different members.
Mark
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.