#44483 [NEW]: Integer values in php.ini does not accepts values larger than 2G (or LONG_MAX)

From: Date: Wed, 19 Mar 2008 16:38:27 +0000
Subject: #44483 [NEW]: Integer values in php.ini does not accepts values larger than 2G (or LONG_MAX)
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-613@lists.php.net to get a copy of this message
From: arnaud dot lb at gmail dot com Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Integer values in php.ini does not accepts values larger than 2G (or LONG_MAX) Description: ------------ Integer values in php.ini does not accepts values larger than 2G (or LONG_MAX ?). This should be documented somewhere. Reproduce code: --------------- Set post_max_size to 2048M Expected result: ---------------- post_max_size == 2048M Actual result: -------------- post_max_size == -2048M Submiting a form with the POST method show the following line in the error log: (and $_POST is empty) PHP Warning: POST Content-Length of 566 bytes exceeds the limit of -2147483648 bytes in Unknown on line 0 -- Edit bug report at http://bugs.php.net/?id=44483&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44483&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44483&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44483&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44483&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44483&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44483&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44483&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44483&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44483&r=support Expected behavior: http://bugs.php.net/fix.php?id=44483&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44483&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44483&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44483&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44483&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44483&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44483&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44483&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44483&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44483&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44483&r=mysqlcfg

« previous php.doc.bugs (#613) next »