سؤال

I run Magento 1.9.2.2 and I want to switch to php 7.0.

Is it possible and save to switch to 7.0 with this Magento install?

هل كانت مفيدة؟

المحلول

Yes, it is possible to migrate 1.9.2.2 from PHP 5.5 to PHP 7. Its not officially supported yet but Inchoo has found the solution to this.

They have developed Magento extension to make Magento compatible with PHP 7.

http://inchoo.net/magento/its-alive/

As of now from Magento 1.9.3.7 PHP 7.0 and 7.1 are officially supported. PHP 7.2 support is not yet official for both Magento 1 and 2.

Thank you

نصائح أخرى

Short answer is no, it doesn't. Magento CE 1.9.2.4 only supports PHP 5.4 and 5.5 officially. And while PHP 5.6 runs it just fine, it saturates log files with multitudes of warning messages.

Long answer is that it's relatively easy to modify it to run support PHP7. However many extensions are still not PHP7 compatible so you're largely on your own.

Magento has oficially released PHP 7.2 patch for Magento 1 (September 2018), which means inchoo extension is not needed anymore!! if you installed it: Remove this module from your M1 store and use the official patch.

Magento Patch for PHP 7.2

However, you will need to have your store patched. It requires previous security patches to be applied prior to installation. The complete requirements are listed on the download.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى magento.stackexchange
scroll top