From:             scott at schrecktech dot com
Operating system: Multiple
PHP version:      Irrelevant
Package:          *Configuration Issues
Bug Type:         Bug
Bug description:Specific 4G/4096M/4194304K memory_limit Fatal Error

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 bug report at https://bugs.php.net/bug.php?id=63831&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=63831&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=63831&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=63831&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=63831&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=63831&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=63831&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=63831&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=63831&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=63831&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=63831&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=63831&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=63831&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=63831&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63831&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=63831&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=63831&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=63831&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63831&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=63831&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=63831&r=mysqlcfg

Reply via email to