|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4682 Apache 1.3 does not invoke the per dir config
Submitted: 2000-05-30 00:57 UTC Modified: 2002-10-01 13:19 UTC
From: cbrown at xnetinc dot com Assigned:
Status: Wont fix Package: Other
PHP Version: 3.0.15 OS: linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2000-05-30 00:57 UTC] cbrown at xnetinc dot com
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-01 13:19 UTC]
We are sorry, but can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Ofcourse PHP 4 will will continue to be supported for the
forseeable future.

i'm sure it works for php 4

PS: setlocale and stuff are not php thread safe :(
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 22 20:01:29 2024 UTC