Answers.Body: <p>I had to run <code>sudo php5enmod mcrypt</code> to enable the module. </p>
  
  <p>It seems this has changed between 12.04 and 14.04—in 12.04 it was enabled automatically.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-06-19T10:44:00.863Z
Answers.Text: just a FYI, this command is required on ubuntu 14.04 ubuntu lamp prebuilt VM on digital ocean.
Answers.UserDisplayName: Luke Holder
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-06-18T11:14:59.037Z
Answers.LastActivityDate: 2014-06-18T15:03:01.017Z
Answers.LastEditDate: 2014-06-18T15:03:01.017Z
Answers.UserDisplayName: Thomas Einwaller
Body: <p>I am using Craft on Ubuntu 12.04 servers without problems, but when trying to run it on Ubuntu 14.04 (trusty) I always get the message</p>
  
  <blockquote>
    <p>Mcrypt is required.</p>
  </blockquote>
  
  <p>I installed it, however, via...</p>
  
  <pre><code>apt-get install apache2 php5 mysql-server php5 php5-cli php5-common php5-curl php5-gd php5-mcrypt php5-mysql
  </code></pre>
  
  <p>...and restarted the web server afterwards. Any hints? Maybe this is a bug with the way craft checks for mcrypt?</p>
  
Tags: <config><server>
Title: Mcrypt is required on Ubuntu 14.04
ThreadText: # Mcrypt is required on Ubuntu 14.04
  
  (Asked by: username_0 on 2014-06-18)
  
  I am using Craft on Ubuntu 12.04 servers without problems, but when trying to run it on Ubuntu 14.04 (trusty) I always get the message
  
  > Mcrypt is required.
  
  I installed it, however, via...
  
  ```
  apt-get install apache2 php5 mysql-server php5 php5-cli php5-common php5-curl php5-gd php5-mcrypt php5-mysql
  
  ```
  
  ...and restarted the web server afterwards. Any hints? Maybe this is a bug with the way craft checks for mcrypt?
  
  **Tags:** config, server
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2014-06-18. Score: 8
  
  I had to run `sudo php5enmod mcrypt` to enable the module.
  
  It seems this has changed between 12.04 and 14.04—in 12.04 it was enabled automatically.
  
  > **Comments:**
  > **username_1**: just a FYI, this command is required on ubuntu 14.04 ubuntu lamp prebuilt VM on digital ocean.  
  
  ---
  
  