Bug #14453 Updated: session_start() provokes a crash of php/apache
| From: | lazybutt666 at yahoo dot com | Date: | Sat, 12 Jan 2002 11:34:10 +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-76745@lists.php.net to get a copy of this message | ||
ID: 14453
Comment by: lazybutt666@yahoo.com
Old Reported By: nfankhauser@swissonline.ch
Reported By: lazybutt666@yahoo.com
Status: Critical
Bug Type: Session related
Operating System: win2k
PHP Version: 4.1.0
New Comment:
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!
Previous Comments:
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
[2001-12-12 08:37:28] nfankhauser@swissonline.ch
<?
session_start();
?>
this script will cause php/apache to crash.
used configuration:
php 4.10 / win32 as SAPI
apache 1.3.20 / win32
unfortunately, I don't have the time now to further investigate the
problem... please contact me if there are any workarounds / solutions
for this problem!
regards
n. fankhauser
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14453&edit=1