Re: php.ini
| From: | Sean Malloy | Date: | Tue, 02 Oct 2001 06:20:33 +0000 |
| Subject: | Re: php.ini | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-9644@lists.php.net to get a copy of this message | ||
You could just use the session_save_path([string path]); function in your
code?
"Jtjohnston" <jtjohnston@courrier.usherb.ca> wrote in message
news:3BB94EA1.4BE857A@courrier.usherb.ca...
> I am running PHP in a weird configuration - :) - on a CD Rom! Therefore:
>
> 1) - Each time I run my CD ROM server, I need my setup executable to
> reconfigure a copy of php.ini and copy it to the windows directory and
> reconfigure.
>
> [Session]
> session.save_path= E:\CD\PHP\sessiondata ; argument passed
> to save_handler
>
> My questions are:
>
> 1) How can I configure an *.ini file with ease using PHP?
> 2) Specifically, how can I reconfiigure "session.save_path" to the PHP
> variable $temp
>
> E:\CD\PHP\sessiondata needs to be read and write, which is not possible
> on a CD Rom.
>
> An email post & reply would be most helpful.
>
> John
>