Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does M LTS support Php 7.2.x? #505

Closed
seansan opened this issue Aug 23, 2018 · 12 comments
Closed

Does M LTS support Php 7.2.x? #505

seansan opened this issue Aug 23, 2018 · 12 comments
Labels

Comments

@seansan
Copy link
Contributor

seansan commented Aug 23, 2018

Does M LTS support Php 7.2.x?

@colinmollenhour
Copy link
Member

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

@seansan
Copy link
Contributor Author

seansan commented Aug 27, 2018

@Flyingmana
Copy link
Contributor

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.

@seansan seansan changed the title Does M LTS support Php 7.3.x? Does M LTS support Php 7.2.x? Sep 5, 2018
@Flyingmana
Copy link
Contributor

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

@colinmollenhour
Copy link
Member

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.

@seansan
Copy link
Contributor Author

seansan commented Sep 19, 2018

https://inchoo.net/magento/magento-1-official-php-7-2-patches/

@seansan
Copy link
Contributor Author

seansan commented Sep 20, 2018

@corbinu
Copy link

corbinu commented Oct 25, 2018

After #557 I think all that needs to be done for this that the composer requirement should include 7.2 as a valid version.

@seansan
Copy link
Contributor Author

seansan commented Feb 13, 2019

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

@seansan
Copy link
Contributor Author

seansan commented Feb 14, 2019

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.

@corbinu
Copy link

corbinu commented Feb 14, 2019

@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

@jhoelzl
Copy link

jhoelzl commented Apr 10, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants