PHP dependency install failed: mcrypt extension is missing

This project needs the PHP extension mcrypt, which is not in the PHP image it runs on.

Seen25 times · 6 variants
WhereLaravel, Php

Why it happens

The project requires PHP extension ext-mcrypt, but the PHP 8.1 image used for the deploy does not provide it. Composer could not resolve dependencies and stopped the build. No composer.lock file was present, so Composer attempted an update rather than a locked install.

What the log looks like

Deploy log
Resolving PHP dependencies on hostNo composer.lock file present. Updating dependencies to latest instead of installing from lock file.Your requirements could not be resolved to an installable set of packages.Problem 1- Root composer.json requires PHP extension ext-mcrypt * but it is missing from your system.Install or enable PHP's mcrypt extension.

Try PanelAlpha Engine yourself.

The easiest way to turn your server into a safe, controlled environment for your AI agent. Deploy, manage and maintain any project from Claude Code, Cursor, Codex or any other MCP client. Open source under Apache 2.0, free to run.

Requires Ubuntu 24.04 or 26.04 · 2 GB RAM · 1 CPURead the documentation