Update memory limit

  • by

When your system is maxed out:

php -r “echo ini_get(‘memory_limit’).PHP_EOL;”

enter php.ini:
sudo nano /etc/php.ini

update the memory limit found quite far down the file to the required amount:
memory-limit 500M

restart php:
service httpd restart

php -r “echo ini_get(‘memory_limit’).PHP_EOL;”

Leave a Reply

Your email address will not be published. Required fields are marked *