ID: 39842 Updated by: [EMAIL PROTECTED] Reported By: php at ahlenstorf dot ch -Status: Open +Status: Assigned Bug Type: Unknown/Other Function Operating System: Windows XP SP2 PHP Version: 5.2.0 -Assigned To: +Assigned To: jmertic
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