How to install the php-mcrypt module?

Created:

2016-11-16 12:56:55 UTC

Modified:

2017-08-20 06:20:24 UTC

28

Was this article helpful?


Have more questions?

Submit a request

How to install the php-mcrypt module?

Applicable to:

  • Plesk for Linux

Symptoms

How to install the php-mcrypt module?

Resolution

For for CentOS , Scientific Linux , and Oracle Linux

The php-mcrypt package is available from RPMforge and EPEL repositories. Add the repository to the server and install the package using the yum utility:

    # yum install epel-release

Then, install the php-mcrypt module:

    # yum install php-mcrypt

For Debian based OS:

    # apt-get install php5-mcrypt

Afterwards, if mcrypt module has been not appeared on Tools & Settings > PHP Settings > [name of PHP handler] > Extensions page, it might be necessarry to refresh server components by opening Tools & Settins > Server Components and pressing Refresh.

To make mcrypt module be available for existing websites update their PHP settings by running:

# /usr/local/psa/bin/php_settings -u
Have more questions? Submit a request
Please sign in to leave a comment.