All notes
Drupal

Installation

Mail support

stackExchange: how to send email in Drupal.

Install the following modules

File upload

drupal.org.

In your PHP php.ini file (you can create a new php.ini under /usr/local/etc/php in your PHP docker image, see hub.docker.com: php):

file_uploads = On
upload_max_filesize = 50M
max_input_time = 300
memory_limit = 50M
max_execution_time = 180
post_max_size = 50M

file_uploads = On must be set to "On"
upload_max_filesize = 24M can't be larger than post_max_size
max_input_time = 300 small values may cause timeouts for large file uploads
memory_limit = 64M small values may cause out of memory errors for large file uploads
max_execution_time = 180 small values may cause timeouts for large file uploads
post_max_size = 24M limits the size of input submitted to the website (including attached files)

drupal: file.

FAQ

Content folders

drupal.org.

Best way to add parent and child pages is to enable the "book" module in Drupal.core.

Change RootPath / BaseUrl

drupal.org.

A couple of things to try:
* In the .htaccess file you may need to set RewriteBase
* And in settings.php you may need to set $base_url and $cookie_domain

groups.drupal.org.

Each time I move/copy a Drupal installation from one URL to another I must remember to update the following:

/sites/default/settings.php
$db_url = 'mysql://username:[email protected]/databasename';
or
$db_url = 'mysqli://username:[email protected]/databasename';
and
$base_url = 'http://www.example.com'; // NO trailing slash!

and

.htaccess
# Modify the RewriteBase if you are using Drupal in a subdirectory and
# the rewrite rules are not working properly.
# RewriteBase /drupal

if you want to change the drupal from sub directory to the root directory
change rewrite rule to

RewriteBase /