php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11264 apache child crashes
Submitted: 2001-06-04 00:19 UTC Modified: 2001-06-26 07:15 UTC
From: mike_comp at hotmail dot com Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 4.0.5 OS: Win ME
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mike_comp at hotmail dot com
New email:
PHP Version: OS:

 

 [2001-06-04 00:19 UTC] mike_comp at hotmail dot com
This happens a lot with me. I make a script which has no errors but then the php dll crashes. I'm not using exotic modules or anything. just simple code. Last time I just kept deleting lines and moving the code around until it worked but now my logout script stopped working after i added more code to it. a user would request login.html?mode=logout then login script inlcudes a global file which has a logout() function that is called.

function log_utils($action){
elseif($action == logout){
		setcookie ("pword", "", time()-3600, "/", "", 0);
		setcookie ("hash", "", time()-3600, "/", "", 0);
		return 1;
	}

if ($mode=="logout"){
	log_utils(logout);
... Thanks.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-05 01:31 UTC] sniper@php.net
Please provide the shortest possible script that actually
works that can be used to reproduce this problem.

The one you have here is complete mess.

--Jani

 [2001-06-05 03:43 UTC] mike_comp at hotmail dot com
It's not reproducible. It happens anytime anywhere. But it keeps happening with the same script. The crashes are unique to one script. Before I had a scripts with a lot of DB calls and it kept crashing until I redid the script and changing the way I did everything.
 [2001-06-14 22:05 UTC] sniper@php.net
So where is this script? I can't see it here.
Bogus.

 [2001-06-14 22:20 UTC] mike_comp at hotmail dot com
actually now I know of 2 functions that are crashing it, 
die() and exit()
 [2001-06-19 08:17 UTC] sniper@php.net
I can not reproduce this with Apache 1.3.20/CGI or DSO. 
What SAPI are you using? Apache DSO or CGI? IIS? 

--Jani

 [2001-06-19 23:24 UTC] mike_comp at hotmail dot com
Apache 1.3.20 with PHP sapi. This only started happening i think with PHP 4.0.5 not 4.0.4. This happens with an older version of Apache too. I don't think it is Apache. I mean it is after all only 2 PHP function... die() and exit() that I notice crahing right now, but a while ago I noticed another one that causes a crash but I couldn't pinpoint which function then I ended up rewriting the script. Thanks, I really need this problem fixed.
 [2001-06-21 14:14 UTC] sniper@php.net
Let's try again: What SAPI are you using? 
Are you using the CGI or the Apache DSO?
(do you have a LoadModule line for php in your httpd.conf?)


 [2001-06-22 14:59 UTC] mike_comp at hotmail dot com
Yeah... like i said Apache PHP sapi "LoadModule php4_module c:/apache/php/sapi/php4apache.dll" in httpd.conf.
 [2001-06-23 18:38 UTC] sniper@php.net
I'm unable to reproduce this with PHP 4.0.6
Please try it out.

 [2001-06-25 19:20 UTC] mike_comp at hotmail dot com
I just upgraded to 4.0.6 and it seems like it's not doing it any more.
 [2001-06-26 07:15 UTC] derick@php.net
User report that it works with 4.0.6. So closing.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 04:01:30 2025 UTC