php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27827 Unlean shutdown apache 2.0.49 + mod_php after starting by hand
Submitted: 2004-04-01 14:16 UTC Modified: 2004-04-04 15:22 UTC
From: kvo at apachefriends dot org Assigned:
Status: Closed Package: Apache2 related
PHP Version: 4.3.5 OS: windows 2000 + xp
Private report: No CVE-ID: None
 [2004-04-01 14:16 UTC] kvo at apachefriends dot org
Description:
------------
An apache 2.0.49 shutdown error by hand (after start manualy). Beetween, execute some php files over the server. 
Error: WinNT cannot clean the memory stack ... File: php4ts.dll. I replace the php4ts.dll with an older version (4.3.4) and all is okay. But then i have an older php ... Oh, and i see a dog by phpinfo()!!??? Yes, 1th april!!

You can provocate this problem with apache as servive:
net stop apache2
net start apache2
[Execute php files via lovalhost]
net stop apache2

System: XP Professional with 512 RAM and Athlon XP 1800 ++.  


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-01 16:47 UTC] kvo at apachefriends dot org
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
That package seems okay! No memory problem! But it is PHP 4.3.6-dev, not PHP 4.3.5 release. Or is it the same? Is there a newer (and better) package for 4.3.5 (release) like this one (without memory lack)?

But last but not least big thanx!
 [2004-04-01 16:49 UTC] derick@php.net
After we released 4.3.5 we moved to 4.3.6-dev which is the start of 4.3.6. We also just released 4.3.6RC1 which has this fix too. Please test it one more time to be sure!

(Closing bug report)
 [2004-04-03 03:11 UTC] kvo at apachefriends dot org
Okay, that is normal. But not only me have that problem with the current release 4.3.5! All 4.x.x. versions are okay, the newest developer version 4.3.6-dev too, but NOT the CURRENT RELEASE! I try it today (as modul with start apache2 by hand, surfing php in localhost, then shutdown apache2) and ... unclean shutdown because memory fault. Using XP Professional and 2000 + the official binary httpd 2.0.49. So only the current release makes that problem. Please help! I have used PHP 4.3.5 win32 as zip from following mirrors: 
www.php.net Web Hosting Talk 
us2.php.net Hurricane Electric   
de.php.net @GLOBE GmbH 

And this email to apachefriends.org:

Apache 2.0.49 unclean shutdown after upgrade to php 4.3.5
Hello!
 
Thank you for XAMPP 1.4 for Windows. I'm running it on Windows XP as a service. Please tell me why, after upgrading to php 4.3.5 from 4.3.4, Apache.exe returns an application error, with logged error as follows: Terminating on signal SIGTERM(15)
[Sun Mar 28 20:56:25 2004] [warn] pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
 
I appreciate your work with Apache/PHP/MySQL. Please help if you can.
 
Thank you,
...
 [2004-04-04 15:22 UTC] kvo at apachefriends dot org
Now compiling PHP 4.3.5 with my VC++ 6.0. Using my selfmade "php4ts.dll". But every time the same problem: The "php4ts.dll" makes a memory lack, so i get an unclean shutdown message from my apache 2.0.49. Better i forget the current 4.3.5 version and work with 4.3.6-dev. This version looks nice and the "php4ts.dll" works okay.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 19:01:28 2019 UTC