php memory_limit unlimited
//Unlimited momory limit
ini_set('memory_limit', '-1');
//Fixed memory limit
ini_set('memory_limit','2048M');
php memory_limit unlimited
//Unlimited momory limit
ini_set('memory_limit', '-1');
//Fixed memory limit
ini_set('memory_limit','2048M');
memory_limit php
Terminal:
php --ini
vi /usr/local/etc/php/7.4/php.ini
php.ini
Search for the string memory_linit
Press Esc :/memory_limit
Then press i and change the value to -1
// -1 : We don't limit the quantity of memory of PHP
memory_limit = -1 // By default = 128M
Then press Esc:w to save and Esc:q to close the file
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us