Re: Proposal: allow for includes in php.ini

From: Date: Wed, 23 Dec 2009 18:20:06 +0000
Subject: Re: Proposal: allow for includes in php.ini
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-46512@lists.php.net to get a copy of this message
On Wed, Dec 23, 2009 at 10:13 AM, Mikko Koppanen <mkoppanen@php.net> wrote: > Hello, > > I think you can use PHP_INI_SCAN_DIR environment variable which should > work runtime as well. still seems a bit archaic. i don''t see any reason why include support can't be added in php.ini. it will probably wind up becoming more popular and widely used than the configure option too, or the environment option... this requires the environment variable to be set prior to launching the php-cgi or php-fpm processes. while it can override the static location done at configure time it still doesn't seem flexible. i'm thinking of includes and the ability to include them as many times as you want inside of php.ini :)

« previous php.internals (#46512) next »