check memory limit php command line code example Example: php memory_limit cli php -d memory_limit=-1