• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Magento Installation Fails at 95%

Martin Dias

QA Engineer
Staff member
Hello all,

I am trying to install Magento over the Plesk Aplication pool but I always get a error at 95%:

Code:
Error: The following error has occurred during the installation of application:
Installation of magento at https://magento.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/magento.example.tld/httpdocs/vendor/magento/framework/Encryption/Crypt.php on line 54 in /var/www/vhosts/magento.example.tld/httpdocs/vendor/magento/framework/App/ErrorHandler.php:61
Stack trace:
#0 /var/www/vhosts/magento.example.tld/httpdocs/vendor/magento/framework/Encryption/Crypt.php(54): Magento\Framework\App\ErrorHandler->handler(8192, 'Function mcrypt...', '/var/www/vhosts...', 54, Array)
#1 /var/www/vhosts/magento.example.tld/httpdocs/vendor/magento/framework/Encryption/Encryptor.php(401): Magento\Framework\Encryption\Crypt->__construct('35a1be4efe155b2...', 'blowfish', 'ecb', false)
#2 /var/www/vhosts/magento.example.tld/httpdocs/vendor/magento/framework/Encryption/Encryptor.php(313): Magento\Framework\Encryption\Encryptor->getCrypt('35a1be4efe155b2...', 0, false)
#3 /var/www/vhosts/magento.example.tld/httpdocs/vendor/magento/module-config/Model/Config/Backend/En in /var/www/vhosts/magento.example.tld/httpdocs/vendor/magento/framework/App/ErrorHandler.php on line 61
'. Error stream: 'PHP Fatal error:  Uncaught Exception: Deprecated Functionality: Function mcrypt_module_open() is deprecated in /var/www/vhosts/magento.example.tld/httpdocs/vendor/magento/framework/Encryption/Crypt.php on line 54 in /var/www/vhosts/magento.example.tld/httpdocs/vendor/magento/framework/App/ErrorHandler.php:61
Stack trace:
#0 /var/www/vhosts/magento.example.tld/httpdocs/vendor/magento/framework/Encryption/Crypt.php(54): Magento\Framework\App\ErrorHandler->handler(8192, 'Function mcrypt...', '/var/www/vhosts...', 54, Array)
#1 /var/www/vhosts/magento.example.tld/httpdocs/vendor/magento/framework/Encryption/Encryptor.php(401): Magento\Framework\Encryption\Crypt->__construct('35a1be4efe155b2...', 'blowfish', 'ecb', false)
#2 /var/www/vhosts/magento.example.tld/httpdocs/vendor/magento/framework/Encryption/Encryptor.php(313): Magento\Framework\Encryption\Encryptor->getCrypt('35a1be4efe155b2...', 0, false)
#3 /var/www/vhosts/magento.example.tld/httpdocs/vendor/magento/module-config/Model/Config/Backend/En in /var/www/vhosts/magento.example.tld/httpdocs/vendor/magento/framework/App/ErrorHandler.php on line 61
'.

System Information:

Code:
# plesk -v
Product version: Plesk Onyx 17.5.3 Update #52
    Update date: 2018/07/04 23:20
     Build date: 2017/03/17 16:00
     OS version: Ubuntu 16.04
       Revision: 55d1b49a272f44666e1920eca8b6e4da449a38cd
   Architecture: 64-bit
Wrapper version: 1.2

The domain where I want to install it is using the Default PHP 7.1.19 FPM from Plesk, and no changes were made to mcrypt etc.

Does anyone know a fix for this issue?

Thank you
 
Thank you, changing to the Plesk version of PHP 7.0 worked. (had tried before the OS Vendor 7.0 and that one was missing mycrypt etc.)

Have a great day
 
Back
Top