Re: undocumented feature with php.ini?
| From: | Michael Virnstein | Date: | Fri, 17 May 2002 12:49:20 +0000 |
| Subject: | Re: undocumented feature with php.ini? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-84135@lists.php.net to get a copy of this message | ||
forgot the php version i tested it with:
4.0.6 and 4.1.2
Regards Michael
"Michael Virnstein" <michael.virnstein@brodos.de> schrieb im Newsbeitrag
news:20020517124520.69040.qmail@pb1.pair.com...
> Hi...
>
> i recently found a msg in php.genereal about the ability to load my own
> php.ini file, although i'm hosted by a hosting company.
> I tried it out and yes, it worked. all i had to do was placing
> a file called php.ini in the document_root of my domain. if i create a
file
> with phpinfo() in it, i can see:
> Configuration File (php.ini) Path:
> /homepages/6/d23442196/htdocs/mylittle.de/php.ini
> with all my settings got loaded.
> Is this intended to work like this? Never read anything about that feature
> in any
> documentation. Am I able to disable magic_quotes_gpc in the cgi version
this
> way,
> which usually is only possible with the module version of php.
> My phpinfo() call tells me so, but i don't know if it really works.
> Any infos on this feature are highly appreciated.
>
> Regards Michael
>
> P.S.: I usually post in php.general, but i think this question suits
better
> for php.dev
>
>