|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19445 Memory problem of PHP in Win32 environment
Submitted: 2002-09-16 19:50 UTC Modified: 2002-10-27 19:07 UTC
From: 6800 at nyc dot odn dot ne dot jp Assigned:
Status: No Feedback Package: Scripting Engine problem
PHP Version: 4.2.2 OS: Windows2000Server
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: 6800 at nyc dot odn dot ne dot jp
New email:
PHP Version: OS:


 [2002-09-16 19:50 UTC] 6800 at nyc dot odn dot ne dot jp
Dear PHP Group,

I was using the machine that installed the memory of 256MB until July of this year.
And in the end neighborhood in July, I increased the memory of the machine to 1GB.
OS that was running normally until now from the instant, became unstable.
I thought this problem, that the beginning is the problem of OS.
I noticed that an OS error does not come out when do for a while and stop Apache.
And I thought that the cause of this problem is in Apache.

However, my judgment may miss.
It is because the OS error does not come out when the reason makes PHP the CGI mode.
Only when PHP is an ISAPI mode namely, the OS error comes out.
This OS error is a violent thing and OS decreases in the case that the initialization failure of the application frequently occurs and the operation of OS be worst, become impossible.
I am inevitable, the problem is driving with the CGI mode without going out now.

The details of my machine are as follows.
OS:Windows2000Server (Not using IIS at all)
HTTPD:Apache2.0.39(Win32) (Binary release)
PHP:4.2.2 (Binary release)
Others:mod_ssl/2.0.39 OpenSSL/0.9.6d mod_gzip/



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-17 10:20 UTC]
I would run memtest on your new ram to see if you have ram errors.  What is the error you are getting?  Could this be related to ?
 [2002-09-17 10:47 UTC]
Restore the correct summary and OS..
(That stupid mozilla auto-complete form (or whatever it is called) should be turned off by default.. :)

 [2002-09-23 04:06 UTC] 6800 at nyc dot odn dot ne dot jp
Thank you for the reply.
Although it saw this report my little situation seems to differ.
The error comes out, also in enough environment where clean installed Windows2000Server.
Needless to say, the error comes out even if it is including all the security close-fitting trousers of Microsoft.
As for the memory of my machine, the error does not come out at all, when PHP is caused run with the CGI mode, although it is not tested.
Needless to say, the error does not come out even if it uses other any applications.
The stated error is the error that "failed to the initialization of the application".
And all the applications come not to trigger and OS does STOP-Error.
At this time the vacancy memory quantity of the system had decreased very much without gazing to the number of the process.(500MB around)
I think that the memory of my machine is normal.

Please permit. I am Japanese whose head is bad. Therefore I am not able to read and write English well.

Thank you.
 [2002-09-23 06:45 UTC] 6800 at nyc dot odn dot ne dot jp
It is a report.

I got PHP from "" and tried to cause it run with the ISAPI mode.
Then, the STOP error came out in several minutes.(T_T)
It returned it to old PHP4.2.2, because the error of PHP came out, even if this version causes it run with the CGI mode.

 [2002-09-23 07:41 UTC]
Please try using this CVS snapshot:
For Windows:

There were some fixes in CVS just recently, so please try a newer snapshot.

 [2002-09-24 23:04 UTC] 6800 at nyc dot odn dot ne dot jp
I thank for advice.
I tried to use PHP4.3.0-dev of the link of the top promptly.
This I thought that the condition is good. However, STOP-Error came out before about 20 minutes from now.
As for this PHP4.3.0-dev the error came out even the CGI mode.

Apache error.log
Premature end of script headers: PHP.EXE

I returned to the CGI mode of PHP4.2.2 once again.

 [2002-10-08 21:52 UTC]
Have you tried using Apache 1.3.27 instead? (Apache2 is pretty unstable..)

 [2002-10-27 19:07 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Jan 26 21:05:54 2023 UTC