Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump PHP default to php7.4, fixes #2657 #2716

Merged
merged 19 commits into from Jan 1, 2021
Merged

Conversation

rfay
Copy link
Member

@rfay rfay commented Dec 29, 2020

The Problem/Issue/Bug:

Time marches on and now PHP does too. PHP7.4 is now the stable version, so we should use it by default.

How this PR Solves The Problem:

Change the default in both web container and ddev code to 7.4

This also removes the typo3ConfigOverrideAction that was added for TYPO3 v11.

Manual Testing Instructions:

  • ddev config a project without specifying PHP version.
  • It should have PHP7.4. ddev exec php --version
  • docker run -it --rm drud/ddev-webserver:20201229_php7.4 php --version should also give 7.4

@rfay
Copy link
Member Author

rfay commented Dec 30, 2020

This is failing on magento 2. And I think TestDdevFullSiteSetup is using an older version of Magento 2, probably 2.2 or something. So the test files need to be rejiggered. And it looks a little complicated.

https://github.com/drud/ddev/blob/5d17f0e5dccc321104489bc1ca9586186b6de552/pkg/ddevapp/ddevapp_test.go#L137-L150

When fixing this, name those files better so we know what magento2 version is inside.

@rfay rfay force-pushed the 20201229_php7.4 branch 3 times, most recently from 97a3669 to b728854 Compare January 1, 2021 02:37
@rfay rfay merged commit 70df9b2 into ddev:master Jan 1, 2021
@rfay rfay deleted the 20201229_php7.4 branch January 1, 2021 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant