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