Answers for "set memory limit php script command"

PHP
0

get php memory limit command line

php -i | grep "memory_limit"
Posted by: Guest on December-24-2020
0

Increase the PHP memory limit

/*
To increase the PHP memory limit setting, edit your PHP.ini file found under /usr/local/etc/php/7.4/.
Increase the default value (example: Maximum amount of memory a script may consume = 128MB) of the PHP memory limit line in php.ini.
*/

memory_limit = 256M
Posted by: Guest on November-03-2020

Browse Popular Code Answers by Language