php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39407 Swapped Upload and Session Directory
Submitted: 2006-11-06 21:40 UTC Modified: 2008-08-22 17:36 UTC
From: eoghan at loggedin dot com Assigned: jmertic (profile)
Status: Closed Package: Windows Installer
PHP Version: 5.2.0 OS: XP SP2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
32 - 8 = ?
Subscribe to this entry?

 
 [2006-11-06 21:40 UTC] eoghan at loggedin dot com
Description:
------------
When you run the windows installer and choose IIS4+ CGI, it seems to swap the values for the session directory and the uploads directory in the php.ini file when it's created.

In php.ini it has

upload_tmp_dir="C:\DOCUME~1\Eoghan\LOCALS~1\Temp\php\session"
session.save_path="C:\DOCUME~1\Eoghan\LOCALS~1\Temp\php\upload"

and I think they're probably meant to be swapped i.e.

upload_tmp_dir="C:\DOCUME~1\Eoghan\LOCALS~1\Temp\php\upload"
session.save_path="C:\DOCUME~1\Eoghan\LOCALS~1\Temp\php\session"

Not a biggie, probably wouldn't really stop things functioning in most cases, but just thought you might want to know.

Eoghan.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-07 14:20 UTC] 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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 02:01:30 2024 UTC