I can\'t seem to find a definitive answer for this one.
When invoking a shell command using exec()
from PHP, does the memory that shell command uses cou
The exec()
command does not directly count towards the PHP since the process is executed separately not from within the PHP Process. Having said that if you use any output variable with the command they would count towards the limit.
So if you had a file which produced a lot of verbose logging, and you were capturing that logging it would count towards the memory limit.