Bug #4682: Apache 1.3 does not invoke the per dir config
| From: | cbrown at xnetinc dot com | Date: | Mon, 29 May 2000 22:57:49 +0000 |
| Subject: | Bug #4682: Apache 1.3 does not invoke the per dir config | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-19714@lists.php.net to get a copy of this message | ||
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.