Edit report at https://bugs.php.net/bug.php?id=63831&edit=1

 ID:                 63831
 Comment by:         scott at schrecktech dot com
 Reported by:        scott at schrecktech dot com
 Summary:            Specific 4G/4096M/4194304K memory_limit Fatal Error
 Status:             Not a bug
 Type:               Bug
 Package:            *Configuration Issues
 Operating System:   Multiple
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

bug #54201 does show the same issue, but this entry below identifies that it is 
explicitly at a unique value where the bug occurs, not using the byte value.


Previous Comments:
------------------------------------------------------------------------
[2012-12-21 22:30:23] fel...@php.net

Please, take a look at bug #54201.

------------------------------------------------------------------------
[2012-12-21 20:24:36] scott at schrecktech dot com

Description:
------------
---
>From manual page: http://www.php.net/ini.core
---

PHP will not run with a 4G, 4096M or 4194304K

PHP Fatal error:  Allowed memory size of 262144 bytes exhausted (tried to 
allocate 
523800 bytes) in Unknown on line 0


Test script:
---------------
Change the memory_limit from the byte value to the "K", "M" or "G" version of 
4Gb to see fatal error.

EXAMPLE:

; works:
memory_limit = 4294967296

; fails:
;memory_limit = 4G
;memory_limit = 4096M
;memory_limit = 4194304K

Expected result:
----------------
One should be able to set the memory_limit with the "G", "M" and "K" versions 
of 
4Gb.



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=63831&edit=1

Reply via email to