run php command without memory limit code example Example: get php memory limit command line php -i | grep "memory_limit"