php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12730 enable mem limit patch via zip please
Submitted: 2001-08-13 23:24 UTC Modified: 2001-09-01 14:33 UTC
From: coxfamily at care4free dot net Assigned:
Status: Closed Package: Website problem
PHP Version: 4.0.6 OS: NT 4
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: coxfamily at care4free dot net
New email:
PHP Version: OS:

 

 [2001-08-13 23:24 UTC] coxfamily at care4free dot net
Hi,

Request that memory-enable-limit patch for 4.0.6 also be available in zip format please for NT 4.0 Server SP6a hi-encrypt, running latest Apache and PHP, etc.

With thanks,
Nick Quenson.

P.S. (Any experience with this?)
The use of http://www.phpwizard.net/projects/phpMyAdmin/, that is the phpMyAdmin tool, for use between a web development machine and a remote hosting provider, where should the tool reside? Does one operate it on the dev machine or load the tool onto the remote hosting web server?
Would appreciate any advice or operational experience on this one. Regards NQ.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-09-01 14:32 UTC] sander@php.net
Not sure whether you need it on Windows, but here's the diff:

======== copy everything _below_ this line ========
--- zend_alloc.c	2001/06/19 18:04:53	1.76.2.3
+++ zend_alloc.c	2001/06/30 14:07:55
@@ -446,6 +446,9 @@
 		for (i=1; i<MAX_CACHED_MEMORY; i++) {
 			for (j=0; j<AG(cache_count)[i]; j++) {
 				ptr = (zend_mem_header *) AG(cache)[i][j];
+#if MEMORY_LIMIT
+				AG(allocated_memory) -= REAL_SIZE(ptr->size);
+#endif
 				REMOVE_POINTER_FROM_LIST(ptr);
 				free(ptr);
 			}

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 18:01:29 2024 UTC