1/** 2* Load local development override configuration, if available. 3* 4* Use settings.local.php to override variables on secondary (staging, 5* development, etc) installations of this site. Typically used to disable 6* caching, JavaScript/CSS compression, re-routing of outgoing emails, and 7* other things that should …
Read More1<?php 2$databases['default']['default'] = array ( 3'database' => 'yourDB', 4'username' => 'yourDBA', 5'password' => 'yourDBPASS', 6'prefix' => '', 7'host' => 'localhost', 8'port' => …
Read More1bash-4.1$ /usr/local/bin/drush cc all 2‘all’ cache was cleared. [success] 3bash-4.1$ /usr/local/bin/drush fra -y 4WD print_pdf: Failed to create directory “public://print_pdf/print_pdf_mpdf/ttfontdata” for print_pdf_mpdf. [error] 5WD print_pdf: Failed to create directory “public://print_pdf/print_pdf_mpdf/tmp” for …
Read MoreDo you have several drupal installation in a test server that you want to distinguish which is which? Add this to settings.local.php and it will override whatever is in database. 1$config['system.site']['name'] = "Example Site (Fixes)";
Read MoreGo to your drupal root composer require drush/drush See http://docs.drush.org/en/master/install/ for details. Then install drupal launcher -> https://github.com/drush-ops/drush-launcher cd ~ wget -O drush.phar https://github.com/drush-ops/drush-launcher/releases/download/0.3.1/drush.phar chmod ug+x drush.phar sudo …
Read MoreGo to drupal root, then: 1drush st --show-passwords database In drush 9.7.2 (may also work for other sub-versions of drush 9), the following command should be used: 1drush st DB
Read More