Problem Statement
Which PHP directive sets the maximum memory a script can use?
Explanation
The memory_limit directive in php.ini defines the maximum amount of memory a single PHP script can use, preventing memory overflows.
Code Solution
SolutionRead Only
ini_set('memory_limit','256M');