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