Basic problem: I've edited my session.save_path in php.ini, but the
application 
still fails in session_start() because it is still using /tmp. This is even
after I stop/restart 
Apache. I know that the updated php.ini file is being read, because my
changes to the
include_path were successfully added.

I'm running Apache 2.0.43; PHP 4.3.0RC3 (also tried with an earlier stable
build).
on Win2K.

Question: Is there any way for session.save_path to get clobbered via an API
or environment variable? 
==============
Errors from the Application:
Warning: session_start() [function.session-start
<http://www.php.net/function.session-start>]:
open(/tmp\sess_47e9f68197eac13f05e2e1fd93d1853c, O_RDWR) failed: No such
file or directory (2) in C:\Program Files\Apache
Group\Apache2\htdocs\php\tiki\setup.php on line 2
(*Stuff deleted*)
Warning: Unknown(): Failed to write session data (files). Please verify that
the current setting of session.save_path is correct (/tmp) in Unknown on
line 0
<snip>
==============
session.* variables in php.ini:
--------------
[Session]
session.save_handler = files
session.save_path = d:\temp
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = ./xxx
session.cookie_domain = eds.com
session.serialize_handler = php
session.gc_probability = 1
session.gc_dividend    = 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
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

Reply via email to