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