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

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

  • That is a serious problem because now small users with only 1 server simply can't set up a Magento 2.0 to do the lengthy migration (mission critical plugins). Why? php7-curl requires libcurl4 and php5-curl require libcurl3 and libcurl3 conflicts with libcurl4 because canonical **** up and had BOTH of them install a libcurl.so.3 AND a libcurlk.so.4 file on the system. – user3750186 Jun 26 '18 at 18:14

Yes, it is possible to migrate 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.


As of now from Magento 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

| improve this answer | |
  • Thanks!! But it is currently not supported by Magento? So the best way is to wait until Magento releases an update to support it? – JGeer Jan 7 '16 at 10:26
  • 2
    It is now officially supported. – Black Oct 18 '18 at 9:51

Short answer is no, it doesn't. Magento CE 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.

| improve this answer | |
  • It is now officially supported. – Black Oct 18 '18 at 9:51

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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.