php.net |  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cbrown at xnetinc dot com
New email:
PHP Version: OS:

 

 [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.
 



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-01 13:19 UTC] hholzgra@php.net
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-2022 The PHP Group
All rights reserved.
Last updated: Fri Jan 28 18:03:35 2022 UTC