Bug #14453 Updated: session_start() provokes a crash of php/apache

From: Date: Tue, 29 Jan 2002 06:16:00 +0000
Subject: Bug #14453 Updated: session_start() provokes a crash of php/apache
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-78420@lists.php.net to get a copy of this message
ID: 14453 Comment by: aurigus@aurigus.net Old Reported By: nfankhauser@swissonline.ch Reported By: aurigus@aurigus.net Status: Critical Bug Type: Session related Operating System: win2k PHP Version: 4.1.0 New Comment: I also noticed this running WinXP, Apache 2.0.28 and PHP 4.1.1. As stated, Setting the correct temp directory for sessions fixed problem. Thanks. Previous Comments: ------------------------------------------------------------------------ [2002-01-18 01:41:44] nohn@php.net Reproduced this Crash with PHP 4.1.1 (www.php4win.com) and Apache 1.3.22 on Windows NT 4 Server. ------------------------------------------------------------------------ [2002-01-17 13:26:50] flash@drewnels.net changing the path fixes the crash problem when session.save_handler is set to 'files'... but what causes the crash when it is set to 'user' ? ------------------------------------------------------------------------ [2002-01-12 06:34:10] lazybutt666@yahoo.com A suggestion to help reduce this error: In future releases php.ini-dist's session.save_path should contain the value of c:\php\temp\ or something and not "/tmp" which does not exist on Windows platforms! ------------------------------------------------------------------------ [2001-12-22 11:31:30] sander@php.net Reproduced with the final 4.1.0 on Windows 2000 with Apache 1.3.22. ------------------------------------------------------------------------ [2001-12-14 09:16:48] nfankhauser@swissonline.ch hi I found the cause for these crashes: If in the php.ini is a wrong path for the session files, php crashes without further notice, whereas php 4.0.6 reported this when trying to start a session with session_start(): Warning: open(./tmp\sess_7a7c42ff822a8016bb5d7b5625a4bc89, O_RDWR) failed: m (2) in c:\some\path\file.php on line 7 this should be adressed in a future release, because crashes for such reasons are not acceptible (even more if an older version behaved correctly!). regards n. fankhauser ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/?id=14453 Edit this bug report at http://bugs.php.net/?id=14453&edit=1

« previous php.dev (#78420) next »