Re: Bug #4682: Apache 1.3 does not invoke the per dir config
| From: | Carl W. Brown | Date: | Thu, 08 Jun 2000 05:00:49 +0000 |
| Subject: | Re: Bug #4682: Apache 1.3 does not invoke the per dir config | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-20533@lists.php.net to get a copy of this message | ||
I found the cause of the problem. Aparently this is done on purpose. This
is the way that Apache gets <locale> to work for extensions regardless of
underlying directory configuirations.
I am working on a fix.
Carl
<cbrown@xnetinc.com> wrote in message
news:20000529225749.572.qmail@php.net...
> From: cbrown@xnetinc.com
> Operating system: linux
> PHP version: 3.0.15
> PHP Bug Type: Other
> Bug description: Apache 1.3 does not invoke the per dir config
>
> The mod_php.c per-dir configuration only gets called the first time with a
NULL dir pointer to build the base configuration record. Apache never
calles PHP3 again to build a per dir configuration. The configuration merge
is dummied and only the data from the base record (PHP3_INI_MASTER) is ever
returned. Updates to PHP3_INI are ignored. The merge logic in mod_php.c is
ignored and and changed made after the initial base record is build will be
wiped out.
> I am building i18n extentions to PHP and because locale and charset can
change by directory, and must be determined before headers are written, this
feature is important. The charset is also critical to determine the
codepage of the PHP script for text literal handeling. The locale to time,
date, number formating as well as collating sequences.
> I am tamming the ICU "IBM Classes for Unicode" package to run well behaved
under Apache with PHP. Plus I am adding extra UTF-8, string case conversion
and browser support.
>
>
>
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>