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