Question : php memory_limit cli
Answered by : wouter-veen
php -d memory_limit=-1
Source : | Last Update : Tue, 10 Mar 20
Question : get php memory limit command line
Answered by : lakshay
php -i | grep "memory_limit"
Source : | Last Update : Thu, 31 Dec 20
Question : check php memory limit
Answered by : osamu
php -i | grep memory_limit
Source : https://laracasts.com/index.php/index.php/discuss/channels/laravel/php-fatal-error-allowed-memory-size? | Last Update : Mon, 20 Jun 22
Question : Increase the PHP memory limit
Answered by : liam-best
/*
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
Source : https://haydenjames.io/understanding-php-memory_limit/ | Last Update : Tue, 10 Nov 20