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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Mar 01 00:01:28 2024 UTC