Join Tom Geller for an in-depth discussion in this video Configuring your settings.php file, part of Drupal 7 Advanced Training.
- View Offline
The Drupal software comprises over a thousand files and directories, but for the…most part you only have to concern yourself with a handful inside of the sites…folder and the most important file inside there is the settings.php file.…It primarily tells Drupal where to find the site's database, but it also has the…potential to do much more.…The file itself is over 500 lines long, but only about 60 of them are functional…code and of those 60 lines only about 35 are actually active, while the rest are…commented out, so don't fret even though it looks intimidating.…
We'll look through the whole file with special emphasis on the most important…parts, and we'll start by looking at the settings.php file as appears in a…traditional installation;…that is where it's on the web host, as opposed to using Acquia Dev Desktop on…your development computer.…I'm already logged in here. Take a look at where we are. Here's our lynda site in…the site's folder and in default.…If I list it, and there is my settings.php file.…
Drupal 7 Advanced Training was designed as a follow-up to Drupal 7 Essential Training and it also dovetails nicely with our other Drupal courses, such as Drupal 7 Reporting and Visualizing Data and Create Your First Online Store with Drupal Commerce.
- Moving a site from the development environment to production
- Hosting a Drupal site
- Moving databases with phpMyAdmin and Unix commands
- Making site administration more efficient with Drush
- Backing up site data
- Moderating comments
- Migrating from previous versions of Drupal
- Working with themes
- Creating variable layouts
- Enabling social features
- Creating an online store with Drupal Commerce