Updating your PHP Version

Moving to a higher PHP version after an upgrade

After you go live with an upgrade, you will likely want to update your PHP Version. For example, if you were running Zen Cart 1.5.1, you were probably using PHP 5.6 or 7.1. After deploying Zen Cart 1.5.7, you will want to update your PHP version to PHP 7.4. And after deploying Zen Cart 1.5.8, you will want to update your PHP version to 8.0 or 8.1.

You will want to run the latest PHP version which is appropriate for your Zen Cart version. See Server Requirements for running Zen Cart.

The process of changing your PHP is server-specific, depending on whether your hoster uses PHP Selector, MultiPHP Manager or some other utility. See PHP Configuration for more information.

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

Note: In some environments, changing your PHP version can reset your memory_limit setting. Be sure to go to the version page after updating PHP to verify the setting of your PHP Memory Limit. For more details, see memory_limit.

Watch out for new PHP warnings after updating PHP

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 October 23, 2022 by Scott C Wilson (318780e).