Bug #15843 Updated: (crash) save_path problem
| From: | sniper@php.net | Date: | Wed, 10 Apr 2002 23:11:29 +0000 |
| Subject: | Bug #15843 Updated: (crash) save_path problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-4595@lists.php.net to get a copy of this message | ||
ID: 15843
Updated by: sniper@php.net
Reported By: vildan@nebulasoft.com
-Status: Duplicate
+Status: Closed
Bug Type: Session related
Operating System: Windows XP
PHP Version: 4.1.1
New Comment:
This bug has been fixed in CVS.
Previous Comments:
------------------------------------------------------------------------
[2002-03-03 13:30:49] vildan@nebulasoft.com
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
------------------------------------------------------------------------
[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