Description

Particularly on developer systems that include a Linux/Apache/MySQL/PHP (LAMP) “stack” that is separate from the operating system, it’s possible that mcrypt is either not installed at all or it’s installed in the LAMP stack’s path but not the operating system’s path.

As a result, the Adobe Commerce installer cannot locate the extension and the installation fails.

Suggestion

Determine if the mcrypt extension is loaded in any of the following ways:

  • Set up a phpinfo.php file in the web server’s root directory and examine the output in a web browser.
  • Run the following command: $ php -r "phpinfo();" | grep mcrypt

If mcrypt is not installed, messages similar to the following display:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212/mcrypt.so' - /usr/lib/php5/20121212/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0

In some cases, you might need to install the Adobe Commerce software from the command line and specify the full path to the LAMP stack that has mcrypt installed.

Previous pageComposer plugins issues when upgrading to Adobe Commerce 2.4.4
Next pageAdobe Commerce 2.3.6, 2.4.0-p1, 2.4.1 known issue: dotdigital login

Commerce


Connect with Experience League at Summit!

Get front-row access to top sessions, hands-on activities, and networking—wherever you are!

Learn more