Bug #39842 [Com]: Windows installer sets non existing session.save_path

From: Date: Mon, 04 Oct 2021 22:31:28 +0000
Subject: Bug #39842 [Com]: Windows installer sets non existing session.save_path
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-237026@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=39842&edit=1

 ID:                 39842
 Comment by:         php5443 at gmail dot com
 Reported by:        php at ahlenstorf dot ch
 Summary:            Windows installer sets non existing
                     session.save_path
 Status:             Closed
 Type:               Bug
 Package:            Windows Installer
 Operating System:   Windows XP SP2
 PHP Version:        5.2.0
 Assigned To:        jmertic
 Block user comment: N
 Private report:     N

 New Comment:

https://maps.google.be/url?q=https%3A%2F%2Fa.tvfun.me%2Fmosalsalat-torkia%2F
https://maps.google.dk/url?q=https%3A%2F%2Fa.tvfun.me%2Fmosalsalat-torkia%2F
https://maps.google.bg/url?q=https%3A%2F%2Fa.tvfun.me%2Fmosalsalat-torkia%2F
https://maps.google.com.my/url?q=https%3A%2F%2Fa.tvfun.me%2Fmosalsalat-torkia%2F
https://maps.google.sk/url?q=https%3A%2F%2Fa.tvfun.me%2Fmosalsalat-torkia%2F


Previous Comments:
------------------------------------------------------------------------
[2006-12-18 16:37:10] jmertic@php.net

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.



------------------------------------------------------------------------
[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 https://bugs.php.net/bug.php?id=39842&edit=1


Thread (8 messages)

« previous php.bugs (#237026) next »