Re: seesion.save_path Problem
| From: | Frank M. Kromann | Date: | Mon, 11 Oct 2004 18:36:10 +0000 |
| Subject: | Re: seesion.save_path Problem | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-24734@lists.php.net to get a copy of this message | ||
Did you remember to restart Apache after making changes to php.ini ? This
is not needed if you are using the CGI sapi.
- Frank
> Environment
> -------------
> WinXP Pro SP1
> PHP 4.3.9
> Apache 2.0.52
>
> I am trying to set the session.save_path in php.ini and I cannot get it
to
> work. I have tried
>
> session.save_path = "X:/ApacheGroup/Apache2/html/SessionSave"
> session.save_path = "/ApacheGroup/Apache2/html/SessionSave"
> session.save_path = 2;/SessionSave
> session.save_path = 2;SessionSave
>
> and other patterns. I'm putting the number in front as that is
explained in
> the ini file as the number of nested directories it will go. I don't
need
> that but thought that might get it to work. But nothing works. It is
> defaulting to /. It is writeable.
>
> Where am I going wrong????? I am also going to include the rest of
the
> [Session] area in case another setting is causing this problem.
>
> Thanks for the help.
>
> Mike
>
>
>
> [Session]
> session.save_handler = files
> session.save_path = 2;X:/ApacheGroup/Apache2/html/SessionSave
> session.use_cookies = 1
> ; session.use_only_cookies = 1
> session.name = PHPSESSID
> session.auto_start = 0
> session.cookie_lifetime = 0
> session.cookie_path = /
> session.cookie_domain = "XXXXX"
> session.serialize_handler = php
> session.gc_probability = 1
> session.gc_divisor = 100
> session.gc_maxlifetime = 1440
> session.bug_compat_42 = 1
> session.bug_compat_warn = 1
> session.referer_check =
> session.entropy_length = 0
> session.entropy_file =
> session.cache_limiter = nocache
> session.cache_expire = 180
> session.use_trans_sid = 0
> session.hash_function = 0
> session.hash_bits_per_character = 4
> url_rewriter.tags =
"a=href,area=href,frame=src,input=src,form=,fieldset="
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>