Bug #15843 Updated: php.exe crashes everytime I call session_start(); whitin a script.

From: Date: Sun, 03 Mar 2002 18:30:49 +0000
Subject: Bug #15843 Updated: php.exe crashes everytime I call session_start(); whitin a script.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-1560@lists.php.net to get a copy of this message
ID: 15843 Updated by: vildan@nebulasoft.com Reported By: vildan@nebulasoft.com Status: Open Bug Type: Session related Operating System: Windows XP PHP Version: 4.1.1 New Comment: Hello, I have tracked down the problem. Setting session.save_path = "C:\windows\temp" will not fix the problem. You will have to create own folder under the root c:\ e.g. "c:\mytemp", using the admin rights (root) and the set: session.save_path = "C:\mytemp" -Vildan Previous Comments: ------------------------------------------------------------------------ [2002-03-03 09:21:15] vildan@nebulasoft.com I am running php 4.1.1 on XP under Apache 1.3. Every time I call session script, php.exe on server crashes. Error msg (in windows): -------------------------------------------------------- php.exe has encountered a problems and needs to close. szAppName: php.exe szAppVer: 0.0.0.0 szModName: php4ts.dll szModVer: 0.0.0.0 offset: 000a956c -------------------------------------------------------- I have set the session.save_path = "C:\windows\temp" in the php.ini, but the problem persist. php file content that craches php.exe --------------------------------------------------------- <?php // creates session for user session_start(); session_register("iwcuser"); session_register("iwcpass"); @$iwcuser = $username; @$iwcpass = $password; ?> --------------------------------------------------------- Hope that the problem is within my script, and not PHP itself, but anyhow, users running their own scripts should be able to crash PHP. Regards, -Vildan ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15843&edit=1

« previous php.bugs (#1560) next »