- Plesk for Linux
- 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.
The mcrypt extension has been removed from PHP starting from the version 7.1.
For more information, see:
Change the PHP version to 7.0 or 5.6 at Plesk > Domains > example.com > PHP Settings.