• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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