How can we help you?

How to enable mcrypt on your domain

Ella McMorran
Written by
Ella McMorran

The mcrypt PHP extension provides encryption functionality that older applications sometimes require. Since our hosting runs CloudLinux, you can enable it per-domain through cPanel without affecting other sites.

To enable mcrypt for your domain:
  1. Log into your domain’s cPanel account
  2. Navigate to “Select PHP Version” under the Software section
  3. Change the PHP version from “native” to any numbered version (7.2, 7.3, 7.4, etc.)
  4. Click “Set as Current” to apply the version change
  5. Check the “mcrypt” checkbox in the PHP modules list
  6. Click “Save” to activate the module

The changes take effect immediately - no server restart needed.

Note

Important: These instructions apply to individual cPanel accounts, not WHM reseller accounts. Each domain must enable mcrypt separately if needed.

Security warning: mcrypt is deprecated as of PHP 7.1 and removed in PHP 7.2+. Consider using OpenSSL or Sodium for new projects instead of mcrypt.