php terminal set memory limit code example
Example 1: php memory_limit cli
php -d memory_limit=-1
Example 2: get php memory limit command line
php -i | grep "memory_limit"
php -d memory_limit=-1
php -i | grep "memory_limit"