#39842 [Asn->Csd]: Windows installer sets non existing session.save_path
| From: | jmertic@php.net | Date: | Mon, 18 Dec 2006 16:37:10 +0000 |
| Subject: | #39842 [Asn->Csd]: Windows installer sets non existing session.save_path | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-106502@lists.php.net to get a copy of this message | ||
ID: 39842
Updated by: jmertic@php.net
Reported By: php at ahlenstorf dot ch
-Status: Assigned
+Status: Closed
Bug Type: Unknown/Other Function
Operating System: Windows XP SP2
PHP Version: 5.2.0
Assigned To: jmertic
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2006-12-15 09:15:43] php at ahlenstorf dot ch
Description:
------------
The Windows Installer of PHP 5.2.0 creates a php.ini with prefilled
upload_tmp_dir and session.save_path settings.
Both point to directories within the temporary directory in the user
profile like Temp\php\upload or Temp\php\session. Unfortunately neither
the Windows Installer nor PHP (+Apache 2.2.3) itself create these
directories.
Expected result:
----------------
Either valid php.ini settings or a warning at the end of the installer
including empty php.ini settings (so that's easier to spot what's
wrong).
Actual result:
--------------
Neither sessions nor file uploads work. Excerpt from Apache's
error.log:
[Fri Dec 15 10:05:20 2006] [error] [client 127.0.0.1] PHP Warning:
session_start() [<a
href='function.session-start'>function.session-start</a>]:
open(C:\\DOKUME~1\\ADMINI~1\\LOKALE~1\\Temp\\php\\upload\\sess_n1ab9mml2m000pjl4ciq20gdl0,
O_RDWR) failed: No such file or directory (2) in
C:\\Webserver\\core\\base_classes\\session.class.php on line 106
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39842&edit=1