Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25065 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46564 invoked by uid 1010); 30 Jul 2006 14:34:35 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 46532 invoked from network); 30 Jul 2006 14:34:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jul 2006 14:34:35 -0000 Authentication-Results: pb1.pair.com header.from=rquadling@googlemail.com; domainkeys=good DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rquadling@googlemail.com X-Host-Fingerprint: 64.233.162.205 nz-out-0102.google.com Linux 2.4/2.6 Received: from ([64.233.162.205:41822] helo=nz-out-0102.google.com) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id FE/CE-58709-3B9BCC44 for ; Sun, 30 Jul 2006 09:52:52 -0400 Received: by nz-out-0102.google.com with SMTP id i1so84864nzh for ; Sun, 30 Jul 2006 06:52:49 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AKRQ2mjvSHcqUxbw88uCMarI981BqCzpkoVqKzh7C4Uk2Ao6zGXAypb+EpVwgx06g0Wwl5ZYYwYLYTxoKv0tvZpEWhcvEL1pWeBOauqdMTw6K84al/1yR5jkXi5BzXBuIEJ+A32o94lP/dZF5nIQaiW3Ph0Frm70iLErBylNQ1w= Received: by 10.65.122.20 with SMTP id z20mr1897948qbm; Sun, 30 Jul 2006 06:52:48 -0700 (PDT) Received: by 10.35.93.18 with HTTP; Sun, 30 Jul 2006 06:52:48 -0700 (PDT) Message-ID: <10845a340607300652x2a12fb13p7125237a43622208@mail.gmail.com> Date: Sun, 30 Jul 2006 14:52:48 +0100 Reply-To: RQuadling@GoogleMail.com To: internals@lists.php.net In-Reply-To: <10845a340607180139t45806159oaee78d9b585fc9cf@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <10845a340607151310od745e13gcd2f9c6137ebb68@mail.gmail.com> <10845a340607160217n769809agcfa097364d6aee86@mail.gmail.com> <10845a340607170316j7e3440ddlbe62ab8b0a807919@mail.gmail.com> <44BB7426.9060501@emini.dk> <3A.72.11992.93A7BB44@pb1.pair.com> <1153166320.18418.10.camel@localhost.localdomain> <1153169132.2994.3.camel@blobule> <44BBFA46.6070904@dealnews.com> <10845a340607180117g77f738ddkd972ffdf34e4c860@mail.gmail.com> <10845a340607180139t45806159oaee78d9b585fc9cf@mail.gmail.com> Subject: Re: [PHP-DEV] Supporting version specific INI files as well as SAPI specific INI files. From: rquadling@googlemail.com ("Richard Quadling") Do I have to do anything else to get this patch submitted? Is there anything more required within it? Where do I go from here? Do I need a sponsor? Do I have to get a CVS account with adequate karma to commit the patch myself? Anyone? Is there anyone out there? Patch can be retrieved from http://rquadling.php1h.com/ini_patch.diff.txt Regards, Richard Quadlng. On 18/07/06, Richard Quadling wrote: > The supplied patch enhances PHP's .INI from ... > > php-%sapi-name%.ini > > to ... > > php%php-version%-%sapi-module-name%.ini > php%php-major-version%.%php-minor-version%.%php-release-version%-%sapi-module-name%.ini > php%php-major-version%.%php-minor-version%-%sapi-module-name%.ini > php%php-major-version%-%sapi-module-name%.ini > > with the original as a fallback. > > e.g. > > from > > php-isapi.ini > > to > > php5.2.0-dev-isapi.ini > php5.1.4-isapi.ini > php5.0-isapi.ini > php5-isapi.ini > php-isapi.ini > > (Just examples - all combinations are valid). > > > With the INI files, the most specific one is looked for first and each > check gets less specific until a file is found. > > > > The supplied patches also do the same work with the Windows Registry. > > Currently the registry key examined is ... > > SOFTWARE\\PHP > > This is extended to ... > > SOFTWARE\\PHP\\V5\\Per Directory Values > SOFTWARE\\PHP\\V5.1\\Per Directory Values > SOFTWARE\\PHP\\V5.1.4\\Per Directory Values > SOFTWARE\\PHP\\V5.2.0-dev\\Per Directory Values > > The more specific settings will override the less specific settings. > > And the supplied patches allow for the location of the ini file on a > per PHP version basis... > > SOFTWARE\\PHP\\V5\\IniFilePath > SOFTWARE\\PHP\\V5.1\\IniFilePath > SOFTWARE\\PHP\\V5.1.4\\IniFilePath > SOFTWARE\\PHP\\V5.2.0-dev\\IniFilePath > > The more specific paths will be examined before the less specific paths. > > > NOTE: I am NOT able to verify this code as I am not yet able to > compile PHP. I'm still learning this, so please accept my apologies > for any syntax errors, bugs. I'm more than willing to fix them! And if > anyone has used MS VC++ Express Edition to build PHP, I'd be REALLY > grateful to have any notes/comments about the process. > > Thanks, > > Richard Quadling. > > > -- > ----- > Richard Quadling > Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 > > > -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"