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

ti2m’s picture

Title: PHP 5 » PHP 5.4

Sorry, I meant PHP 5.4 of course

ti2m’s picture

I 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.box

Then you need to edit Vagrantfile and 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.rb because 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.

ti2m’s picture

Issue summary: View changes

PHP 5 > PHP 5.4

mgifford’s picture

Priority: Normal » Major
Issue summary: View changes

This is important now as D8 requires PHP 5.4.

Maybe it does just take putting in a newer box though...