Active
Project:
Vagrant
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2013 at 12:32 UTC
Updated:
5 Apr 2014 at 20:36 UTC
Jump to comment: Most recent
Hi,
first of all awesome project!!! German 1and1 will force PHP5.4 in April so I need to test some client sites. Whats the best way to get PHP5.4? Am using the default lucid32 box and updated to PHP5.4, now I do get a couple of warnings about xdebug, apc, uploadprogress and xhprof. Could try to fix this but thought I ask first, maybe there is an easy solution. Different base box?
Comments
Comment #1
ti2m commentedSorry, I meant PHP 5.4 of course
Comment #2
ti2m commentedI managed to get PHP 5.4.6 by using a newer box then lucid, Ubuntu 12.10 Quantal, found on http://www.vagrantbox.es/ (this box at least worked for me pretty well).
Add a new box "quantal"
vagrant box add quantal https://github.com/downloads/roderik/VagrantQuantal64Box/quantal64.boxThen you need to edit
Vagrantfileand tell it to use the new box instead of the base box:config.vm.box = "quantal"Last thing to do is to edit
roles/drupal_dev.rbbecause the used xhprof mod is not available for 12.10 yet and install will crash. Just uncomment"recipe[xhprof]"and remove the "," from the previous line, not sure how strict chef is.Maybe the docs should tell you that you can just use the precise box to get a newer PHP that will work with D8, because lucid doesn't! Am sure this would make things easier for a lot of people.
Comment #2.0
ti2m commentedPHP 5 > PHP 5.4
Comment #3
mgiffordThis is important now as D8 requires PHP 5.4.
Maybe it does just take putting in a newer box though...