php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #52549 No 'M' in memory_limit variable returns 'Could not startup.' Possible mem leak?
Submitted: 2010-08-06 04:00 UTC Modified: 2010-08-09 00:53 UTC
From: zack_gold at yahoo dot com Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 5.3.3 OS: Linux (Arch Linux)
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: zack_gold at yahoo dot com
New email:
PHP Version: OS:

 

 [2010-08-06 04:00 UTC] zack_gold at yahoo dot com
Description:
------------
When you put this into php.ini:
memory_limit = 50;

The output results in:
Could not startup.


There should be a notification to let you know that the memory_limit isn't set 
properly. Maybe it's possible to do memory leaking or something like that through 
this? My knowledge for memory-related stuff is one to none, but maybe there's a 
potential bug here...

Test script:
---------------
Change php.ini memory_limit to "50" like so:

memory_limit = 50;


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-08-06 11:40 UTC] mike@php.net
-Status: Open +Status: Feedback
 [2010-08-06 11:40 UTC] mike@php.net
It actually is set properly, you set it to 50 bytes, which is too less to start up.
 [2010-08-06 17:10 UTC] zack_gold at yahoo dot com
Oh, interesting.
 [2010-08-09 00:53 UTC] felipe@php.net
-Status: Feedback +Status: Bogus
 [2010-08-09 00:53 UTC] felipe@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 04:01:29 2024 UTC