-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Magento 2.1 php7.1 will not be supported due to mcrypt deprecation #5880
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
php 7.1 is in beta stage now .In future release of magento 2.1.0 it needs to be taken care anyway |
You can hide the deprecated warnings! The main problem is padding differences between mcrypt and openssl - so the question is - will a quickie switch to openssl_encrypt cause inability to decrypt the mcrypted data! This would not be serious if you weren't going online and will have 20K Customers who will have to re-key their passwords once PHP drops mcrypt completely and we need to choose between security (PHP) or not. I would recommend trying openssl_encrypt instead of mcrypt_encrypt and see if we're going to run into problems in 6 months from now. When hopefully we have many stores with many users online with magento 2.x! |
Duplicate: #5701 |
Thanks for the information @acidreian666 . We have removal of mcrypt and other encryption changes in our backlog under MAGETWO-39838 and it's related to #5701 as well but not duplicate. |
@piotrekkaminski in which release can we expect this switch? We are currently running into performance issues in which \Magento\Framework\Encryption\Crypt.php:__construct is the bottleneck. It's adding several seconds to the response time. |
Any progress on this? PHP 7.1.0 is no longer a pre-release and is really preferrable to 7.0... |
PHP 7.1 tag 🎉 php/php-src@85b9055 |
I am on PHP 7.1 and www-data@22a4f759a4d3:/data$ ./bin/magento --version |
I run 7.1 in production no problem. If you want to get around the error so you can run the install. error_reporting(E_ALL ^ E_DEPRECATED); |
@joshspivey,
Only if you don't need to void invoice/credit memo :) |
PHP 7.1 has had already 4 stable releases. When can we expect PHP 7.1.x to be supported? Thanks |
Just go app/etc/env.php and delete below code from there . |
That sounds like a bad idea! what happens with no crypt key? |
Any ETA on PHP 7.1 with Magento 2? |
|
@orlangur, Thanks for the heads up... |
PHP 7.1 would be supported in Magento since Magento 2.2 |
Hello! Any idea how can i bypass the mcrypt prereq on 2.2 installation? |
@gustavovo, GitHub is intended for bug reports, please use Magento Stack Exchange for questions. Once you posted a question just add a link here. |
[TSG] Fixes for 2.4 (pr46) (2.4-develop)
Been testing Ubuntu & PHP7.1
Dev Docs say php7.1 will be supported on Magento 2.x CE
http://devdocs.magento.com/guides/v2.0/install-gde/system-requirements.html
7.0.2 up to 7.1.0, except for 7.0.5
Ubuntu 16.04; PHP7.1; Magento2.1; Nginx; Mysql5.7
Steps to reproduce
Expected result
completed indexing of database
Actual result
Deprecated Functionality: Function mcyrpt_module_open() is deprecated in ..../vendor/magento/framework/Encryption/Crypt.php Line 54
Further Investigation is that mcyrpt was deprecated in 2007 and we should be using OpenSSL
Check links
http://laravel.io/forum/07-01-2016-php71-and-mcrypt
https://dotdev.co/upcoming-changes-in-php-7-1-76ebea53b820#.lsf5xtam8
The text was updated successfully, but these errors were encountered: