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

From: Date: Sun, 03 Oct 2021 12:02:36 +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-236994@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:         php dot net at linktr dot ee
 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:

Thank you for the report, and for helping us make PHP better.

https://linktr.ee/detroitbikesC16
https://linktr.ee/tabletopbricksC14
https://linktr.ee/sdtotositussl

The Windows Installer of PHP 5.2.0 creates a php.ini with prefilled upload_tmp_dir and
session.save_path settings.

https://linktr.ee/poker188alterna
https://linktr.ee/sbobetnewdaftar


Previous Comments:
------------------------------------------------------------------------
[2021-10-03 11:45:35] php dot net at tvfun dot me

Thank you for the report, and for helping us make PHP better.

https://a.tvfun.me/fatat-al-nafida-modablaj/
https://a.tvfun.me/hob-manteq-intiqam/
https://a.tvfun.me/al-kadib/

------------------------------------------------------------------------
[2021-06-19 19:06:23] dfjkjfd at gmail dot com

https://sites.google.com/site/amazoncommytv/

------------------------------------------------------------------------
[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 (#236994) next »