-
Notifications
You must be signed in to change notification settings - Fork 79
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
Using PHP_TAG=7.4-dev-4.27.1 tag causes Drupal not to route to the site anymore. #85
Comments
What's your Drupal version? Most likely the image comes with the updated global drush that no longer supports your Drupal version. You should have your own drush coming with your drupal composer setup (see drupal-composer or drupal/recommened-project). |
Drupal 9.2.4. I am and have been including drush/drush in composer, it is at version 10. Drush aside, the homepage displays:
The $_ENV is empty if I dump it in settings.php. |
Update, the tag I am using is actually PHP_TAG=7.4-dev-4.27.1 |
Perhaps I missed this change - but $_ENV no longer has those values but $_SERVER does. Changing to $_SERVER works, but the docs appear to state to hard code the credentials into settings.php instead? |
This also failed for me elsewhere: $_ENV['HOME'] |
the behaviour regarding the global env vars most likely changed because of wodby/php#145 as for drush most likely the issue in your settings.php file |
I updated from 7.4-4.19 to the latest tag in the 7.4 line, and when I did that I could no longer run drush cr or access the website. It appeared that the appropriate site folder was no longer read and that settings files were not locatable. Dropping back to the old tag resolved the issue for me.
The text was updated successfully, but these errors were encountered: