Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
VDD 8.x-1.x-dev (2015-Sep-16) contains PHP version 5.5 (5.5.9-1ubuntu4.16) but its active support ended 10 months ago on 10th July 2015 and security support ends soon on 10th July 2016:
https://secure.php.net/supported-versions.php
Please could you release a new VDD with an updated PHP version, and matching Xbebug?
Thank you!
Comment | File | Size | Author |
---|---|---|---|
#20 | upgrade_php_version-2731389-20.patch | 7.31 KB | LiamPower |
#14 | upgrade_php_version-2731389-14.patch | 7.88 KB | LiamPower |
#6 | upgrade_php_version-2731389-6.patch | 525 bytes | LiamPower |
Comments
Comment #2
LiamPower CreditAttribution: LiamPower at Reading Room commentedThis may be a useful link for a starting point: https://github.com/chef-cookbooks/php/issues/162
I believe it will need the latest php cookbook
Comment #3
NumerousHats CreditAttribution: NumerousHats commentedIs there any way to upgrade to at least PHP 5.6.x?
In a clean vdd-8.x-1.x-dev install, drush fails with the message "Your command line PHP installation is too old. Drush requires at least PHP 5.6.0."
Comment #4
pminf@MAndrecPhD: To make it work with PHP5.5 check https://www.drupal.org/node/2789071. But anyway I would prefer a PHP update to 5.6.
Comment #5
pminfAs hugovk pointed out support for PHP5.5 has ended. This makes VDD currently unusable.
Comment #6
LiamPower CreditAttribution: LiamPower at Reading Room commentedThe attached patch will update PHP to be 5.6.
It is against 8.x-1.x-dev, but it's worth noting that ruby needs to be updated to 2.2 which can be found here: https://www.drupal.org/node/2745239
As this the ruby patch hasn't been committed yet, this patch doesn't work directly with the ruby patch and will need to be re-rolled.
Comment #7
LiamPower CreditAttribution: LiamPower at Reading Room commentedComment #8
hugovk CreditAttribution: hugovk at Digia commentedComment #9
ericjenkins CreditAttribution: ericjenkins at Exel Digital commentedI did not see the need for theThank you, @LiamPower!python-software-properties
line, but I did test and confirm that adding the repositoryppa:ondrej/php5-5.6
as an entry toinitial.sh
works as intended.EDIT: It turns out the Ubuntu PPA url referenced by @LiamPower in patch #6 no longer exists!
The PHP5-5.6 PPA is referenced on this master page here: https://deb.sury.org/
But, the PHP5-5.6 PPA link is broken: https://launchpad.net/~ondrej/+archive/ubuntu/php5-5.6/
I was not able to come up with an easy way to update this Vagrant Trusty64 box to PHP5.6, and I am giving up on making PHP5.6 work for now.
I agree that this should be re-rolled along with the Ruby patch found here: #2745239: Ruby version >=2 Required
Comment #10
ericjenkins CreditAttribution: ericjenkins at Exel Digital commentedComment #11
LiamPower CreditAttribution: LiamPower at Reading Room commentedThis is the updated one. https://launchpad.net/~ondrej/+archive/ubuntu/php
It bundles a couple of different PHP versions together and I think it may need more work than my other patch.
If this vagrant box is no longer going to be supported (Which it hasn't been for a while), it may be worth looking at something like https://www.drupal.org/project/drupalvm which is based on ansible and very well supported.
Comment #12
pminfI've tried Drupal VM but did not get it working on Windows, especially because of Ansible. VDD is based on Chef, which I prefer on Windows (no issues yet). So please, don't give up VDD :-)
Comment #13
ericjenkins CreditAttribution: ericjenkins at Exel Digital commentedI completely empathize with you, @pminf . DrupalVM has been working to improve its Windows friendliness. I haven't tried it in Windows for over a year, so I can't speak to how it runs now. But I do agree that Chef is historically much more Windows-friendly. And I, too, have leaned toward Chef for that reason. Hopefully VDD will continue to be supported! I am certainly willing to do my part to keep it going.
Comment #14
LiamPower CreditAttribution: LiamPower at Reading Room commentedThis patch should now make php 5.6 work again. It will require the patches in the following issues to be applied as well:
Comment #15
LiamPower CreditAttribution: LiamPower at Reading Room commentedComment #16
LiamPower CreditAttribution: LiamPower at Reading Room commented@ericjenkins any chance you can test this? If we can get PHP 5.6 in to dev then we can probably get a working release out
Comment #17
DamienMcKennaWould it be worthwhile suggesting moving to PHP 7 instead of 5.6?
Comment #18
LiamPower CreditAttribution: LiamPower at Reading Room commentedI feel it would probably be best to do a larger overhaul of VDD to move it to PHP 7 personally.
Comment #19
awm CreditAttribution: awm commentedhas this been tested?
I can give it a shot this week and see if there are issues.
Comment #20
LiamPower CreditAttribution: LiamPower at Reading Room commentedI just tried to apply this patch and it would appear I generated the patch from the wrong folder (It was a version of VDD I was trying other things on as well) so it would not apply.
I have re-generated a patch which doesn't have all of the bits that break it. If you could test that it would be great.
Comment #21
eworwa CreditAttribution: eworwa commentedHi, I applied the patch in #20 and did apply ok, but I got some errors when provisioning the box
I'm not sure what the problem is, hope this output is enough to try and find the problem. Let me know if you need to full provisioning output.
Comment #22
awm CreditAttribution: awm commentedwe are attempting to update the box to xenial which ships with php 7 ... https://www.drupal.org/project/vdd/issues/2915293#comment-12456355
if that's good enough we can close this.
Comment #23
awm CreditAttribution: awm commented