Re: Per site php.ini
| From: | Wojciech Owczarek | Date: | Mon, 16 Dec 2002 16:53:11 +0000 |
| Subject: | Re: Per site php.ini | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-17431@lists.php.net to get a copy of this message | ||
Hmmmz...
afaik in Apache (and only Apache, also only used as module) you can set
php.ini variables in .htaccess files.
(remember to have AllowOverride directive for that directories to use
.htaccess correctly)
So to set sth per site, you have to put into it's htaccess:
php_value [valuename] [value]
to set php.ini value, or
php_flag [flagname] [on|off ]
to set some flag
there are also:
php_admin_value
and
php_admin_flag
which do the same, but can only be used in Apache's main config files, not
in .htaccess files
Hope this helps to solve anything, anr/or will push You to using Apache if
You aren't using it :]
---------
owczi@counter-strike.pl the humble sheep