Magento-lts: Does M LTS support Php 7.2.x?

Created on 23 Aug 2018  路  12Comments  路  Source: OpenMage/magento-lts

Does M LTS support Php 7.2.x?

PHP7 Question

All 12 comments

I think the main blocker is that PHP 7.2 removed mcrypt so see #129 and #449.

Aside from that I don't know of any major issues but wouldn't be surprised if there are minor issues from things like PCRE2.

AFAIK, PHP 7.1 is the latest fully supported version. Pull requests welcome! :)

See: https://github.com/php/php-src/blob/PHP-7.3/UPGRADING

getimagesize() and related functions now report the mime type of BMP images
as image/bmp instead of image/x-ms-bmp, since the former has been registered
with the IANA (see RFC 7903).

may need a change

most other 7.3 related BC breaks dont affect Magento I think, but who knows which odd constructs are hidden internally somewhere.

can someone look trough the changes of https://magento.com/tech-resources/download#download2240 ?

The bulk of it is updating the libraries like phpseclib and adding mcrypt_compat. As it is the official solution I see no reason to not go ahead and merge it even though if you're not using downloader probably a lot of that code is not needed. There are some other changes in there like some explicit type casting and adding arguments to overridden methods so it's better that we've done to date.

After https://github.com/OpenMage/magento-lts/pull/557 I think all that needs to be done for this that the composer requirement should include 7.2 as a valid version.

For means of closure ;)

Has anyone tested 7.2 PHP support on their server? (with the merges above)

Running on production?

(if yes: then maybe I dare to take a leap on our accept server .... and we can close the issue)

@corbinu @Flyingmana @colinmollenhour

Update. Tested today on DEV. No problems so far. On moving to production nginx env.
So seems to work fine. 1.9.4.x branch.

@seansan Sweet! I have only worked with it in dev also as I only use OpenMage to develop extensions don't have any prod Magento installs

Issue can be closed since magento-lts supports PHP 7.2 after merging Magento Core Update 1.9.4.1.

Was this page helpful?
0 / 5 - 0 ratings