Http://www.php.net/manual/en/ini.core.php ini.memory-limit






















Using the memory_limit directive. By default, a PHP script can allocate up to megabytes of memory. To change this limit, use a text editor to modify the memory_limit directive in your www.doorway.ru file. For example, to allow scripts to allocate a maximum amount of megabytes of memory, use the following setting: memory_limit = M.  · PHP memory_limit is per-script, just as a highway’s speed limit is per-vehicle. Now regarding the original example mentioned at the outset. A lower setting of M is always better because if PHP scripts are trying to use more than M, those Reviews: 2. [ UTC] tony@www.doorway.ru This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot.


So if you want MB you either write in "M" or "". Also remember that you can always check what your memory limit is set to with phpinfo (); If your php wasn't compiled with --enable-memory-limit in the configure line (if you are using a version earlier than ) then none of this will work. Share. Improve this answer. Using the memory_limit directive. By default, a PHP script can allocate up to megabytes of memory. To change this limit, use a text editor to modify the memory_limit directive in your www.doorway.ru file. For example, to allow scripts to allocate a maximum amount of megabytes of memory, use the following setting: memory_limit = M. List of www.doorway.ru directives. List of. www.doorway.ru directives. This list includes the www.doorway.ru directives you can set to configure your PHP setup. The "Changeable" column shows the modes determining when and where a directive may be set. See the Changeable mode values section for their definitions.


Jul see www.doorway.ru#www.doorway.ruth-cache-size realpath_cache_size = 64k ; The time to live value defaults to vi /usr/local/etc/php//www.doorway.ru 6. 7. www.doorway.ru We don't limit the quantity of memory of PHP PHP answers related to “www.doorway.ru memory_limit”. ; See the PHP docs for more specific information. ; www.doorway.ru ; The syntax of the file is extremely simple. Whitespace.

0コメント

  • 1000 / 1000