-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Fall back to PHP 7.4 for Magento versions older than 2.4.4 #685
Comments
you are sure you want to setup Magento version 2.3.4 ?? This would only work with a php version which isn't supported anymore. brgds. Dirk |
yes, I am sure about what I want. Limitations should be clearly described (like we will support only Magento 2.4.4 or whatever and php 8.1). |
in Changelog you could have read, that php v7.3 image was removed because EOL (41.1.0). If you are stuck on the Magento 2.3.x branch, try v2.3.7 but I would go with php v7.4 ... brgds. Dirk |
Maybe Mark could introduce a switch for the docker-compose file to revert back to php7.4 |
I'm definitely not supporting 7.3 anymore as that has reached EOL -- no one should be running that version because of security issues. I'd rather not revert the default to 7.4, as 8.1 is really the new standard moving forward, and I think those expecting to install Magento today would expect it to run on 8.1. That said, I still support 7.4, and if someone tries to install a version less than 2.4.4, it really should default back to the latest 7.4 image rather than 8.1. I'd be open to taking in any PRs if someone wants to add in this fallback capability! I can do this, but I may not get to it for a little bit. |
FYI I think the logic would best to implement in the We have access to the |
I got this :) |
All fixed! If you now try to request a version of Magento before 2.4.4, it should update the docker-compose.yml file to the PHP 7.4 image. We'll need a better method of pulling in the latest PHP 7.4/8.1 image tag if/when these are ever updated, but I'll do my best to remember the to update this with new tags until then. |
nice work, Mark ! |
Description
Steps To Reproduce
curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/onelinesetup | bash -s -- magento.test 2.3.4
Expected Result
I get a docker setup with Magento 2.3.4
Actual Result
The text was updated successfully, but these errors were encountered: