We already have an issues on the PHP's version problem.

There you can find an interesting information and discussions. Here I'll start a new issue to test the patches. I propose to install PHP 5.4 version. As I know Drupal 7 and Drupal 8 should work on this version. Let's try it. Also I've updated help page in order to help you install fresh drupal 8 version quickly.

CommentFileSizeAuthor
php54.patch4.21 KBdanylevskyi

Comments

danylevskyi’s picture

Issue summary: View changes
martin107’s picture

Category: Task » Bug report
Priority: Normal » Critical

@danylevskyi thank you so much.

so in #2225413: Move PHP version to 5.4 to drupal 8's minimum version. I was guilty of too much talking - no action. I cannot recommend this patch highly enough.

Bumping this to critical and Bug report .. given patches using traits have already been committed to d8 core .... VDD 8.x-1.x-dev has no chance of working until this issue is fixed.

So here is my manual testing report, in summary this patch works perfectly fixes a major problems and a scan of the patch reveals nothing but elegant comprehensive solutions to only the relevant problems.

So the next part may be "Too long - don't read"

1) vagrant destroy
2) vagrant up
3) drink tea while waiting
4) Follow install instructions on home page entitled "Welcome VDD"
5) While waiting for site install look at phpinfo.php and see
PHP Version 5.4.27-1+deb.sury.org~precise+1

so this issue is resolved - drupal works OK

I would RTBC this patch but this is comment #2 and so others may want to add something

mgifford’s picture

Category: Bug report » Task
Priority: Critical » Normal

Minor whitespace error:

Mikes-Laptop:vdd mike$ git apply php54.patch 
php54.patch:53: trailing whitespace.
warning: 1 line adds whitespace errors.

But loads up nicely with the right version of PHP:

vagrant@precise32:~$ php -v
PHP 5.4.27-1+deb.sury.org~precise+1 (cli) (built: Apr  8 2014 10:10:34) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with Xdebug v2.2.4, Copyright (c) 2002-2014, by Derick Rethans

Looks good.

  • Commit 0f30fb8 on 8.x-1.x authored by danylevskyi, committed by ericrdb:
    Issue #2235979 by danylevskyi: Update PHP version to 5.4 (patches).
    
ericrdb’s picture

Status: Needs review » Fixed

Nice!

Tested and works for me too. Whitespace issue fixed and committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

  • Commit 0f30fb8 on 8.x-1.x, berkshelf authored by danylevskyi, committed by ericrdb:
    Issue #2235979 by danylevskyi: Update PHP version to 5.4 (patches).