Drupal-7: Set private, public, and temporary directories with Drush or settings.php

To set the private, public, and temporary directories with Drush (with possibly realistic example directories), type:
drush vset file_private_path sites/default/files/private
drush vset file_public_path sites/default/files
drush vset file_temporary_path /tmp
You can also set these directories in the settings.php file by adding these lines to the end of that file:
$conf['file_private_path'] = 'sites/default/files/private';
$conf['file_public_path'] = 'sites/default/files';
$conf['file_temporary_path'] = '/tmp';
12 / 2021