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
