-
What is the use of memory_limit = -1 in php.ini?
about 8 years ago
-
about 8 years ago
memory_limit parameter sets the maximum amount of memory in bytes that a script is allowed to allocate. This helps prevent poorly written scripts for eating up all available memory on a server. Note that to have no memory limit, set this directive to -1.
For Better understanding check the link http://php.net/manual/en/ini.core.php.
-
-
about 8 years ago
memory_limit parameter sets the maximum amount of memory in bytes that a script is allowed to allocate. This helps prevent poorly written scripts for eating up all available memory on a server. Note that to have no memory limit, set this directive to -1.
For Better understanding check the link http://php.net/manual/en/ini.core.php.
-
2 Answer(s)