Recently, I started having problems running Drush within the VMs being managed by this Vagrant project. Drush started returning the error, "Your command line PHP installation is too old. Drush requires at least PHP 5.3.5."
Apparently the PHP version necessary to run Drush was increased just recently. Since this project uses the master branch of Drush, the version requirement change got pulled in immediately. As a temporary fix, I changed line #22 in /cookbooks/drupal-cookbooks/drush/recipes/head.rb from:
reference "master"
…to…
reference "7.x-5.x"
Longer term, I'm not sure if it makes sense to bump up the PHP version that gets installed or to switch this project away from using Drush's master branch.
Comments
Comment #1
pfrenssenYou could also use a more recent linux distribution which includes a more recent PHP version. The default distribution (Ubuntu Lucid Lynx 10.04) is well over two years old now. You could use Ubuntu Precise Pangolin 12.04 for example.
Comment #2
funkym commentedHad the same issue, using the following box worked for me:
http://files.vagrantup.com/precise32.box
Comment #3
travist commentedMatt V.
Your first suggestion fixed this for me. I was having an issue just getting the box to build and your suggestion worked.
Just committed that to latest DEV with attribution. Thanks for the contribution.
Travis.