php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #52667 memory_limit ignored
Submitted: 2010-08-22 15:41 UTC Modified: 2010-08-22 17:15 UTC
From: j dot chetwynd at btinternet dot com Assigned:
Status: Wont fix Package: PHP options/info functions
PHP Version: 5.2.14 OS: os x leopard
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.
Password:
Status:
Package:
Bug Type:
Summary:
From: j dot chetwynd at btinternet dot com
New email:
PHP Version: OS:

 

 [2010-08-22 15:41 UTC] j dot chetwynd at btinternet dot com
Description:
------------
php.ini:
memory_limit = 20      ; 20 Bytes not: Maximum amount of memory a script may consume (128MB)

phpinfo:
memory_limit	20	20

seems clear to me at least that any web app on this server should crash, or send error, but it does not:

ie like: Bug #52549: No 'M' in memory_limit variable returns 'Could not startup.' 

but app runs fine!

> memory-limit is always enabled (--enable-memory-limit removed)
> default value if memory-limit is set to 128M
http://bugs.php.net/42525


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-08-22 16:23 UTC] kalle@php.net
Im not sure I totally understand your issue. So you are saying, that if you set memory_limit to 20 (20 bytes) then you do not get any startup error?
 [2010-08-22 16:23 UTC] kalle@php.net
-Status: Open +Status: Feedback
 [2010-08-22 16:53 UTC] j dot chetwynd at btinternet dot com
sorry, I could not find a way to login, comment or close this bug.

has been resolved since updating to 5.3
 [2010-08-22 17:15 UTC] kalle@php.net
-Status: Feedback +Status: Wont fix
 [2010-08-22 17:15 UTC] kalle@php.net
Thanks, 5.2 only gets security updates so this is a Wont fix :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 07:01:27 2024 UTC