PHP Memory Limit

Checking and updating your PHP memory_limit

The PHP Memory Limit is the amount of memory a script is allowed to allocate, per the PHP Documentation on this setting. Suggestions on setting this value are provided in PHP memory limit and Zen Cart.

In some environments, changing your PHP version can reset your memory limit setting. Go to the version page after updating PHP to verify the setting of your PHP Memory Limit.

The process of updating your PHP memory is server-specific:

  • Some hosts running cPanel provide PHP Selector, which has a page for PHP Options
  • Some hosts running cPanel provide MultiPHP INI Editor
  • Some hosts use php.ini files

Your hoster likely provides a knowledge base with instructions. Contact your hoster if you are unsure how to proceed.




Still have questions? Use the Search box in the upper right, or try the full list of FAQs. If you can't find it there, head over to the Zen Cart support forum and ask there in the appropriate subforum. In your post, please include your Zen Cart and PHP versions, and a link to your site.

Is there an error or omission on this page? Please post to General Questions on the support forum. Or, if you'd like to open a pull request, just review the guidelines and get started. You can even PR right here.
Last modified May 2, 2021 by Scott C Wilson (95a2d20).