Doc #52229 [NEW]: memory_limit vs post_max_size: misleading or incomplete documentation

From: Date: Thu, 01 Jul 2010 21:43:34 +0000
Subject: Doc #52229 [NEW]: memory_limit vs post_max_size: misleading or incomplete documentation
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-4636@lists.php.net to get a copy of this message
From: Operating system: PHP version: Irrelevant Package: Documentation problem Bug Type: Documentation Problem Bug description:memory_limit vs post_max_size: misleading or incomplete documentation Description: ------------ It is stated here: http://www.php.net/manual/en/ini.core.php#ini.post-max-size the memory_limit variable must be greater then post_max_size. This is repeated all over the Internet as can be seen by googling it. However empirical evidence has shown otherwise. It is possible to upload files which are, say, 3 times larger than the memory_limit. Similar reports also question that statement: http://zendframework.com/issues/browse/ZF-5703 http://www.php.net/manual/en/features.file-upload.php#78017 Another issue is that the relation between the allocation limit (memory_limit) and the actual size of the php-cgi process (when PHP is used with mod_fcdid or similar...) is not explained. It can be seen that a php-cgi process seems to start with a fixed memory size independent from memory_limit. It would be very helpful if this could be clarified here: http://www.php.net/manual/en/ini.core.php#ini.memory-limit http://www.php.net/manual/en/ini.core.php#ini.post-max-size -- Edit bug report at http://bugs.php.net/bug.php?id=52229&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52229&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52229&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52229&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=52229&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52229&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=52229&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=52229&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=52229&r=needscript Try newer version: http://bugs.php.net/fix.php?id=52229&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=52229&r=support Expected behavior: http://bugs.php.net/fix.php?id=52229&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=52229&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=52229&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=52229&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52229&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=52229&r=dst IIS Stability: http://bugs.php.net/fix.php?id=52229&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=52229&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=52229&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=52229&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=52229&r=mysqlcfg

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