Unable to install Magento application: Function mcrypt_module_open() is deprecated

Created:

2017-03-24 14:33:20 UTC

Modified:

2017-08-08 13:16:48 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to install Magento application: Function mcrypt_module_open() is deprecated

Applicable to:

  • Plesk for Linux

Symptoms

  • Unable to install Magento application:
    Error: The following error has occurred during the installation of application: Installation of magento at http://example.tld/ failed. Non-zero exit status returned by script. Output stream: 'PHP Fatal error: Uncaught Exception: Deprecated Functionality: Function mcrypt_module_open() is deprecated in /var/www/vhosts/example.tld/httpdocs/vendor/magento/framework/Encryption/Crypt.php on line 54.
  • PHP version 7.1 or higher is used.

Cause

The mcrypt extension has been removed from PHP starting from the version 7.1.

For more information, see:

Resolution

Change the PHP version to 7.0 or 5.6 at Plesk > Domains > example.com > PHP Settings.

Have more questions? Submit a request
Please sign in to leave a comment.