My settings.php file looks for a settings.local.php file. DDEV also wants to provide a file named this containing database credentials. What's the best way for them to coexist? Should I also look for a local.settings.php file and place my custom overrides there?
How do I allow a self-managed local settings file?
127 Views Asked by wizonesolutions At
1
There are 1 best solutions below
Related Questions in DRUPAL-7
- Drupal access control to custom user profile page
- How to list all child pages of current parent page in drupal 7?
- Drupal location module shows only a portion of Gmap on node page
- How to add a select collection type select list to field collection
- Drupal AngularJS ajax simple ng-repeat update
- PHPStorm Drush on Vagrant
- Drupal: Access A Field in hook_views_query_alter()
- Drupal domain access auto create content
- How to display sibling pages except current page in drupal 7?
- how to merge entity reference relationship field value
- Drupal print breaks when rendering a region
- Drupal 7 treating HTML div with data attribute as text
- All files and folders are not being listed in the imce file browser in Drupal 7
- drupal api returns json causes syntax error, malformed JSON in json_decode function of php
- Drupal module development, custom database tables, pages for managing those data
Related Questions in PANTHEON
- Having trouble authenticating in Drush with SSL
- drupal prepending 'node' to the link url
- circleCI permission denied after updating build tools image version
- GitHub action push to pantheon
- Like button on content will not work until URL is submitted to Facebook debug tool
- Warning on Pantheon Localdev logs
- Varnish caching issues on the Pantheon hosting platform - Question for WordPress plugin developers
- Terminus drush config:import detecting no changes
- PHP __DIR__ working locally but not on production
- Pantheon SFTP config parameters for Remote - SSH vscode extension
- ddev launch command returns "File not found."
- Lando pull from pantheon multidev not working
- How do I allow a self-managed local settings file?
- Wordpress: woocommerce creating cookie that is not allowing my site to be cached via varnish
- How to enable terminus command in linux (Windows)
Related Questions in DDEV
- Modifying local DDEV Drupal settings.php for live server?
- unable to enable php-gmp for php7.4 with ddev
- Accessing webpack dev server output with specific port in ddev / docker container
- Private files in a DDEV Drupal environment
- How can I add gatsby-cli or sudo or other packages to a DDEV-Local add-on service like nodejs?
- Moving Drupal DDev containers / projects to a new computer
- DDEV to XAMPP connection configuration
- DDEV: Can't Access Site Via Hostname, hosts File Not Updated
- Projects not starting after DDEV update?
- Include css file with changing hash number via includeCss
- Vite main.js file not found error in console
- ddev snapshot fails with bash "Is a directory" error
- ddev and vscode for Drupal, what should I use for php.validate.executablePath?
- How to debug Behat test with Xdebug in PhpStorm?
- CORS still blocked between two DDEV sites
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
In recent versions ddev uses a "settings.ddev.php" (created during ddev config) to provide its own db settings; So the normal way to provide your own settings would be to edit settings.local.php and make sure it gets included by the settings.php file.
In addition: * If any settings file does not contain the string "#ddev-managed" then ddev will not touch it. * You can always use project-type=php (
type: phpin .ddev/config.yaml, orddev config --project-type=php) and ddev won't try to do anything at all with settings.