Move the most common database configuration to the very top of settings.php.

Created on 9 December 2011, almost 13 years ago
Updated 20 July 2023, over 1 year ago

The settings.php file is getting out of hand. Most of the database documentation in the file relates to multi-site setups, or master-slave set-ups, or other less common drupal set-ups. All this information makes it really hard to find the simplest and most-common way to enter your database connection information. (which doesn't appear until line 104). Can we please move this section right to the very top of this file? After we cover the most common use-case, then we can explain that there are other ways too. But let's not get into all that until after we give the people what they want. :)

This issue is slightly related to #481000: Make settings.php more usable β†’ but is more in line with @ksenzee's comments.

DX has to include new Drupal developers too. They're very likely to hunt around for "the config file", find it, and try to figure out what it's doing. That introduction to Drupal should not be a WTF.

πŸ“Œ Task
Status

Closed: outdated

Version

9.5

Component
BaseΒ  β†’

Last updated 1 day ago

Created by

πŸ‡ΊπŸ‡ΈUnited States jenlampton

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024