RE: [PHP-WIN] Per site php.ini
| From: | Charles P. Killmer | Date: | Mon, 16 Dec 2002 16:57:46 +0000 |
| Subject: | RE: [PHP-WIN] Per site php.ini | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-17432@lists.php.net to get a copy of this message | ||
Well I would love to switch to Apache but we are a Microsoft shop. I am
lucky to be using PHP and have had to defend it a few times against asp.
Thanks for everyones help.
Charles Killmer
-----Original Message-----
From: Wojciech Owczarek [mailto:owczi@counter-strike.pl]
Sent: Monday, December 16, 2002 10:53 AM
To: php-windows@lists.php.net
Subject: Re: [PHP-WIN] Per site php.ini
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
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php