RE: [PHP-DEV] php.ini include directive
| From: | Xavier Spriet | Date: | Wed, 11 Sep 2002 18:15:33 +0000 |
| Subject: | RE: [PHP-DEV] php.ini include directive | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-88202@lists.php.net to get a copy of this message | ||
We are indeed talking about the same thing, this is exactly how I was
seeing it also.
It would definitely help keep things organized since I imagine if this
was implemented, the old way of doing it would still remain possible so
I don't see why not, though I have no idea of what the technical
difficulty would be.
XS
On Wed, 2002-09-11 at 14:15, Brian France wrote:
> I don't think we are talking about the same thing.
>
> I would like to do something like this:
>
> php.ini
> ---
> [PHP]
> <snip php settings>
> include = php-mbstring.ini
> ---
>
> php-mbstring.ini
> ---
> [mbstring]
> mbstring.internal_encoding = EUC-JP
> mbstring.http_input = auto
> mbstring.http_output = EUC-JP
> mbstring.detect_order = auto
> mbstring.substitute_character = none;
> ---
>
> or this would include all .ini files from the include directory
>
> php.ini
> ---
> [PHP]
> <snip php settings>
> include = include/
> ---
>
>
> Or may be a something like this:
>
> php.ini
> ---
> [PHP]
> <snip php settings>
>
> [INCLUDE]
> file = php-mbstring.ini
> file = php-mysql.ini
> directory = include/
> ---
>
> Brian
>
>
> At 1:59 PM -0400 9/11/02, devon@sitetronics.com wrote:
> >I see how this could be useful, possibly for custom session handlers or
> >including something at the top of every file for free hosted customers or
> >something (so that they can't get around the ads or whatever).
> >
> >Anyway, I don't know. I give this maybe +.25 for right now, see what
> >reactions are.
> >
> >I could put together a quick patch for this if people thought it would be
> >useful. If you guys like the idea, lemme know, and I'll patch it.
> >
> >Devon
> >
> >Original Message:
> >-----------------
> >From: Brian France list@firehawksystems.com
> >Date: Wed, 11 Sep 2002 10:56:06 -0700
> >To: php-dev@lists.php.net
> >Subject: [PHP-DEV] php.ini include directive
> >
> >
> >Has anybody looked into doing a include directive for the php.ini file?
> >
> >Something like what Apache has?
> >
> >http://httpd.apache.org/docs/mod/core.html#include
> >
> >Thoughts?
> >
> >Cheers,
> >
> >Brian
> >
> >--
> >PHP Development Mailing List <http://www.php.net/>
> >To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >--------------------------------------------------------------------
> >mail2web - Check your email from the web at
> >http://mail2web.com/ .
> >
> >
> >
> >--
> >PHP Development Mailing List <http://www.php.net/>
> >To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>