From:             php at ahlenstorf dot ch
Operating system: Windows XP SP2
PHP version:      5.2.0
PHP Bug Type:     Unknown/Other Function
Bug description:  Windows installer sets non existing session.save_path

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 bug report at http://bugs.php.net/?id=39842&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=39842&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=39842&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=39842&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=39842&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=39842&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=39842&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=39842&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=39842&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=39842&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=39842&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=39842&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=39842&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=39842&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=39842&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=39842&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=39842&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=39842&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=39842&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=39842&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=39842&r=mysqlcfg

Reply via email to