-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Magento compatibilty issues with PHP 7.1 #8569
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
Comments
According to https://github.com/magento/magento2/blob/develop/composer.json#L11 you should not be able to install :) Is there a bug in installer or you did some
Most likely you changed There are a bunch of issues regarding desired PHP 7.1 support reported already. |
That's strange.
Completely fed up from Magento2
With Best Regards
Anujeet Kaur
…On 15 Feb 2017 10:45 p.m., "Vlad Veselov" ***@***.***> wrote:
According to https://github.com/magento/magento2/blob/develop/
composer.json#L11 you should not be able to install :) Is there a bug in
installer or you did some composer install --ignore-platform-reqs ?
suddenly from today there are warnings coming for depreciatesd functions
specifically
Most likely you changed display_errors setting. This could be suppressed
by something like #5880 (comment)
<#5880 (comment)>.
There are a bunch of issues regarding desired PHP 7.1 support reported
already.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8569 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AR1mFwMDcZKEHgC9Rx378oISmgBtjWnKks5rczK4gaJpZM4MB-YJ>
.
|
I'm having Magento 2.1.3
If you see
"name": "magento/magento2ce",
"description": "Magento 2 (Community Edition)",
"type": "project",
"version": "2.2.0-dev",
"license": [
"OSL-3.0",
"AFL-3.0"
],
Its for Magento 2.2.0
With Best Regards
Anujeet Kaur
On 15 Feb 2017 10:47 p.m., "Anujeet kaur Pahuja" <[email protected]>
wrote:
… That's strange.
Completely fed up from Magento2
With Best Regards
Anujeet Kaur
On 15 Feb 2017 10:45 p.m., "Vlad Veselov" ***@***.***>
wrote:
> According to https://github.com/magento/magento2/blob/develop/composer.
> json#L11 you should not be able to install :) Is there a bug in
> installer or you did some composer install --ignore-platform-reqs ?
>
> suddenly from today there are warnings coming for depreciatesd functions
> specifically
>
> Most likely you changed display_errors setting. This could be suppressed
> by something like #5880 (comment)
> <#5880 (comment)>.
>
> There are a bunch of issues regarding desired PHP 7.1 support reported
> already.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#8569 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AR1mFwMDcZKEHgC9Rx378oISmgBtjWnKks5rczK4gaJpZM4MB-YJ>
> .
>
|
@anujeetphj any reason to use PHP 7.1 instead of 7.0 at the moment? |
I don't see 2.2.0 is not released yet by the way, only available in dev branch. |
I'm using Opensuse 42.1 Leap operating system and I faced great
difficulties while installing your specified versions 7.0.2, 7.0.4 , 7.06
These are unstable for openSUSE Leap 42.1
With Best Regards
Anujeet Kaur
…On 15 Feb 2017 10:54 p.m., "Vlad Veselov" ***@***.***> wrote:
@anujeetphj <https://github.com/anujeetphj> any reason to use PHP 7.1
instead of 7.0 at the moment?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#8569 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AR1mF0HGMWZuyEFkip_pv8Ffcj6Ldy_4ks5rczTMgaJpZM4MB-YJ>
.
|
For 2.1.3 PHP 7.1 should not pass system requirements check too: https://github.com/magento/magento2/blob/2.1.3/composer.json#L11 |
Not 7.0.6 is recommended, but 7.0.6 and higher. Any version higher than 7.0.6 in 7.0.x will pass |
I will check the composer.JSON at my end and will update the issue with the
relevant code. So that issue can be resolved.
With Best Regards
Anujeet Kaur
On 15 Feb 2017 10:57 p.m., "Anujeet kaur Pahuja" <[email protected]>
wrote:
… I'm using Opensuse 42.1 Leap operating system and I faced great
difficulties while installing your specified versions 7.0.2, 7.0.4 , 7.06
These are unstable for openSUSE Leap 42.1
With Best Regards
Anujeet Kaur
On 15 Feb 2017 10:54 p.m., "Vlad Veselov" ***@***.***>
wrote:
> @anujeetphj <https://github.com/anujeetphj> any reason to use PHP 7.1
> instead of 7.0 at the moment?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#8569 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AR1mF0HGMWZuyEFkip_pv8Ffcj6Ldy_4ks5rczTMgaJpZM4MB-YJ>
> .
>
|
Why are you using PHP 7.1 @anujeetphj ? According to the DevDocs it's not supported yet:
|
@anujeetphj closing as an issue with unsupported PHP version. In the latest develop there were couple of fixes related to PHP 7.1 |
This ticket should be reopened. This error still happens when attempting to install 2.1.6:
|
@markoshust 7.1 is not supported in 2.1.6, please see the link above |
This needs to be resolved in 2.1 branch! Who knows how long 2.2 will take? |
FYI here is the actual ticket to reference now: #5701 I agree with @craigcarnell -- this is a bug/flaw and shouldn't wait for a major release. Considering the above ticket is almost a year old, and PHP 7.1 was released 6 months ago... what is taking so long here? This could be classified as a pretty urgent/security fix. The additional overhead we are seeing of Magento 2 falling behind current versions of PHP is also super concerning. |
Actually, not. Upstream Magento still uses Maybe somebody from community is willing to backport such fix to 2.1? |
You can use the develop patches to insert @ sign in front of every mcrypt* function to stop the warnings, but you have to change the VOID to VOIDACTION controllers as well since void is reserved in 7.1 - same patches for develop work for 2-1! |
there are also a few areas where slack typing fails under php-7.1 iirc. Rendering totals maybe in a non-magento module or customization! You should not attempt to use php 7.1.x with Magento 2.1.x - if you cannot figure out how to get past the PHP Version check! STOP! |
PHP 7.0.21 or PHP 5.6.31 have the latest security patches and are compatible with Magento 2.1 - i'd suggest 7.0.21 - btw 7.1.1 is very old and has security issues itself! 7.1.7 is latest! google how to upgrade to latest version of php 7.0 on centos 7 - for walk through assuming you have centos 7 as an os! |
@shinji-sakai you looked into the right @markoshust PHP 7.1 support in Magento 2.2.x has nothing to do with security as it simply suppresses warnings generated by |
PHP Version Check why i get this issue ? some thing to fix this problem ? |
@Screamfox, GitHub is intended for bug reports, please use Magento Stack Exchange for questions. Most likely you use Magento 2.1.x which does not support PHP 7.1. |
My Magento version is 2.1.3
Php version 7.1.1
At first place when I installed Magento with PHP 7.1 ut does not give any errors. But suddenly from today there are warnings coming for depreciatesd functions specifically (mcrypt/mdecrypt) functions in Magento/framework...Crypt.PHP file. If it doesn't support a certain PHP verSion, why didn't it give me warning in the first place while installation?
The text was updated successfully, but these errors were encountered: