Magento2: Support for PHP 7.3

Created on 6 Dec 2018  Â·  26Comments  Â·  Source: magento/magento2

PHP 7.3 has now been released. Would like to see Magento 2 support it

Format is not valid non-issue

Most helpful comment

Hello everyone!

We are currently working on this. We plan to release PHP 7.3 support in 2.3.3.

All 26 comments

Hi @craigcarnell. Thank you for your report.
To help us process this issue please make sure that you provided the following information:

  • [ ] Summary of the issue
  • [ ] Information on your environment
  • [ ] Steps to reproduce
  • [ ] Expected and actual results

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento-engcom-team give me $VERSION instance

where $VERSION is version tags (starting from 2.2.0+) or develop branches (for example: 2.3-develop).
For more details, please, review the Magento Contributor Assistant documentation.

@craigcarnell do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?

  • [ ] yes
  • [ ] no

https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html#php

Does something not work in 7.3?
Also this would rake some time.

Thanks @craigcarnell, Magento team keeps an eye on new PHP releases by itself, there is no need in such reports.

@orlangur Any updates on this? Are we expecting allow installation in 2.3.1?

@craigcarnell dunno. All I know is that @buskamuza confirmed 7.3 support is in the backlog.

Not in 2.3.1. But should be in one of 2.3.x.
cc @piotrekkaminski

Any updates on this? I can't believe how slow you are

Hi @djixas, as you can see there was no update in this specific issue. 2.3.1 was released a few days ago.

@DanielRuf Can we expect an ETA please?

Any update on magento2 setup working with php 7.3... ?

Hi @buskamuza & @orlangur,

I'm planning to upgrade the servers that i'm managing to PHP7.3, but a couple of customers are running Magento2.
Could you provide a global timeline as to when support for PHP 7.3 is planned to be implemented?

Any updates on this? PHP 7.2 is only actively supported for the next 6 months and PHP 7.4 is already in alpha so there is plenty of material to work with already.

Hello everyone!

We are currently working on this. We plan to release PHP 7.3 support in 2.3.3.

@chernenm Really surpised this was not included in 2.3.2???

@craigcarnell releases are cut and planned much earlier as changelogs and more gave to be created and so on.

If you need it earlier you can use the .patch/diff version of the PR then and apply it with composer-patches.

@DanielRuf Do you have a PR or diff to use? It must be quite big to update composer.json of most modules?

@chernenm can probably answer this.

When i am trying to run composer install command in command prompt . it's end with with a error

amzn/amazon-pay-and-login-with-amazon-core-module 3.2.9 requires php 7.1.3- 7.2.0 your php version 7.3.2 doesn't satisfy that requirment.

I installed xampp with php 7.3 . do you think i should switch to php 7.2 for magento 2.3 ?

Best Regards
Kuldeep

I installed xampp with php 7.3 . do you think i should switch to php 7.2 for magento 2.3 ?

Yes, please switch to PHP 7.2

2.3.3 may support 7.3, see https://github.com/magento/magento2/issues/24062#issuecomment-519463117

on putty command use after show error magento supports PHP 7.1.3 or later. Please read https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html

please help me

@Nikkumawat please use Magento Stack Exchange for questions

FYI I tried PHP 7.3.16 with Magento 2.3.3 and I couldn't even run bin/magento commands. Got no response back on the command line.

After command error :
Fatal error: Uncaught Error: Class 'DOMDocument' not found in
/home/bigshopnz/public_html/vendor/magento/framework/Config/Dom.php:388
Stack trace:

my php version : 7.2
magento version : 2.3.2

On Thu, 2 Apr 2020 at 22:45, Andy notifications@github.com wrote:

FYI I tried PHP 7.3.16 with Magento 2.3.3 and I couldn't even run
bin/magento commands.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/magento/magento2/issues/19604#issuecomment-607977885,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGKJ6SRSW7PY4JH7JK5X63DRKTB3BANCNFSM4GI4RA5A
.

@Natskumawat I guess you wanted to comment on a different issue.

https://www.php.net/manual/en/class.domdocument.php

Check phpinfo() if your PHP version has the DOM extension installed and enabled.

https://www.php.net/manual/en/dom.installation.php

Also this is an old version of Magento 2.

project already on server Linux base
pls send command line DOM extension installed and enabled.

On Thu, 2 Apr 2020 at 23:28, Daniel Ruf notifications@github.com wrote:

@Natskumawat https://github.com/Natskumawat I guess you wanted to
comment on a different issue.

https://www.php.net/manual/en/class.domdocument.php

Check phpinfo() if your PHP version has the DOM extension installed and
enabled.

https://www.php.net/manual/en/dom.installation.php

Also this is an old version of Magento 2.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/magento/magento2/issues/19604#issuecomment-608013044,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGKJ6SW62SYOJDAUJOGIH2LRKTG4FANCNFSM4GI4RA5A
.

Write a php file with <?php phpinfo();.

@Natskumawat please use Magento Stack Exchange for questions

Closing this issue here as resolved. Please ask further questions on Magento Stack Exchange

Was this page helpful?
0 / 5 - 0 ratings