Re: ini function like ini_set and ini_alter
| From: | Christoph Grottolo | Date: | Wed, 04 Dec 2002 20:09:26 +0000 |
| Subject: | Re: ini function like ini_set and ini_alter | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-17270@lists.php.net to get a copy of this message | ||
Franco Pozzer wrote:
> Thanks for all.
>
> My end it is Apache 1.3.27 and PHP 4.3.2 in Win32 system NT 4.0.
>
> I have the php.ini auto_prepend_file like this:
> auto_prepend_file="C:\OPENFEDRA\Apache\htdocs\fedra\sv\cfg\"
>
> All work fine with this configuration of the php.ini.
>
> For same reason I must to do not configure php.ini and the directives
> auto_prepend_file must be null like auto_prepend_file =.
>
> I have discovered ini_alter function but I do not be able to work in
> my application.
No, you can't change auto_prepend_file with ini_alter, because the file you
want to prepend should be read before your script, that is, before you call
ini_alter...
Christoph