#22110 [Opn]: ini_get ("memory_limit"); not working
| From: | philip@php.net | Date: | Fri, 07 Feb 2003 16:48:24 +0000 |
| Subject: | #22110 [Opn]: ini_get ("memory_limit"); not working | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-32399@lists.php.net to get a copy of this message | ||
ID: 22110
Updated by: philip@php.net
Reported By: ek@aperion.net
Status: Open
Bug Type: PHP options/info functions
Operating System: freeBSD 4.7
PHP Version: 4.3.0
New Comment:
Here's how I see it. You must have used --enable-memory-limit to use
this directive at all so it essentially isn't being used so it returns
an empty string. I believe this is intentional but ideally a php-dev
person will answer:
Why doesn't it return the default value? Whether that be 8M or -1 (not
sure which it is :) ... when not compiled in. An empty string seems
misleading.
Previous Comments:
------------------------------------------------------------------------
[2003-02-07 10:29:28] ek@aperion.net
ini_get ("memory_limit"); does not return anything.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22110&edit=1