Answers.Body: <p>I would install PHP via a third-party repository. I use Ondřej Surý's and I'm pretty happy with it. It installs PHP 5.5.</p>
  
  <p><a href="https://launchpad.net/~ondrej/+archive/ubuntu/php5" rel="nofollow">https://launchpad.net/~ondrej/+archive/ubuntu/php5</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-09T15:21:29.033Z
Answers.Text: I did that and I'm still at PHP 5.3. Here's the exact terminal commands I executed:
Answers.UserDisplayName: Paul Timoce
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-09T15:21:51.227Z
Answers.Text: sudo add-apt-repository ppa:ondrej/php5-oldstable;
  sudo apt-get update;
  sudo apt-get install php5
Answers.UserDisplayName: Paul Timoce
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-09T15:25:14.240Z
Answers.Text: I'm not sure how you're getting 5.3 because the php5-oldstable is 5.4. Why not use the latest php5 repository? Also, what version of Ubuntu are you using?
Answers.UserDisplayName: Bryan Redeagle
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-09T15:28:00.330Z
Answers.Text: I have a Ubuntu 10.04.4 LTS server and I did try using the latest php5 repository
Answers.UserDisplayName: Paul Timoce
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-09T15:32:52.867Z
Answers.Text: That is your problem right there. Ubuntu 10.04 is not supported in either of those repositories. The more recent one supports 12.04 and up and the oldstable only supports 12.04. Ubuntu is seeing that and falling back on it's own php5 package which is probably 5.3.2. You need to update Ubuntu.
Answers.UserDisplayName: Bryan Redeagle
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-09T16:09:31.953Z
Answers.Text: Are you on a VPS? The best option is make a new instance / linode / droplet, etc.  Upgrading a production server is risky at best. But if you're feeling adventurous, updating to 12.04 is pretty straightforward iirc. That'll let you run Craft without a ppa—at least until 3 comes out. But if it were me, I'd get on 14.04 asap. You'll have to jump to 12.04 first. The biggest change is Apache 2.4 which changes some of the config syntax so if you have a lot of websites/services on that server or  a mission critical website, that can be problematic. Of course backup first!
Answers.UserDisplayName: RitterKnight
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-09T17:32:01.187Z
Answers.Text: Thank you guys for the support... Yes. I will think about moving to at least 14.04 asap but I will need to devote some time for that. Untill then, i can work without Craft since Craft was just a nice to have and not a critical component.
Answers.UserDisplayName: Paul Timoce
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-09T15:09:46.640Z
Answers.LastActivityDate: 2015-09-09T15:09:46.640Z
Answers.UserDisplayName: Bryan Redeagle
Body: <p>Here's the error I get: "You have an insecure version of crypt installed. Please update PHP to 5.3.7 or later". I have PHP Version 5.3.2 installed on my Ubuntu server and cannot switch to a new version no matter what I do. I also tried to php5enmod mcrypt and it gives me command not found. I did the classic </p>
  
  <p>sudo apt-get update;
  sudo apt-get install php5;
  sudo apt-get install php5-mcrypt;</p>
  
  <p>Can you guys help? My phpinfo() doesnt show mcrypt as being installed even though it is installed actually. I am out of ideas</p>
  
Tags: <php><requirements><mcrypt>
Title: Your server doesn’t meet the following requirements to run Craft
ThreadText: # Your server doesn’t meet the following requirements to run Craft
  
  (Asked by: username_0 on 2015-09-09)
  
  Here's the error I get: "You have an insecure version of crypt installed. Please update PHP to 5.3.7 or later". I have PHP Version 5.3.2 installed on my Ubuntu server and cannot switch to a new version no matter what I do. I also tried to php5enmod mcrypt and it gives me command not found. I did the classic
  
  sudo apt-get update;
  sudo apt-get install php5;
  sudo apt-get install php5-mcrypt;
  
  Can you guys help? My phpinfo() doesnt show mcrypt as being installed even though it is installed actually. I am out of ideas
  
  **Tags:** php, requirements, mcrypt
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-09-09. Score: 2 | Accepted answer
  
  I would install PHP via a third-party repository. I use Ondřej Surý's and I'm pretty happy with it. It installs PHP 5.5.
  
  <https://launchpad.net/~ondrej/+archive/ubuntu/php5>
  
  > **Comments:**
  > **username_0**: I did that and I'm still at PHP 5.3. Here's the exact terminal commands I executed:  
  > **username_0**: sudo add-apt-repository ppa:ondrej/php5-oldstable; sudo apt-get update; sudo apt-get install php5  
  > **username_1**: I'm not sure how you're getting 5.3 because the php5-oldstable is 5.4. Why not use the latest php5 repository? Also, what version of Ubuntu are you using?  
  > **username_0**: I have a Ubuntu 10.04.4 LTS server and I did try using the latest php5 repository  
  > **username_1**: That is your problem right there. Ubuntu 10.04 is not supported in either of those repositories. The more recent one supports 12.04 and up and the oldstable only supports 12.04. Ubuntu is seeing that and falling back on it's own php5 package which is probably 5.3.2. You need to update Ubuntu.  
  > **username_2**: Are you on a VPS? The best option is make a new instance / linode / droplet, etc.  Upgrading a production server is risky at best. But if you're feeling adventurous, updating to 12.04 is pretty straightforward iirc. That'll let you run Craft without a ppa—at least until 3 comes out. But if it were me, I'd get on 14.04 asap. You'll have to jump to 12.04 first. The biggest change is Apache 2.4 which changes some of the config syntax so if you have a lot of websites/services on that server or  a mission critical website, that can be problematic. Of course backup first!  
  > **username_0**: Thank you guys for the support... Yes. I will think about moving to at least 14.04 asap but I will need to devote some time for that. Untill then, i can work without Craft since Craft was just a nice to have and not a critical component.  
  
  ---
  
  