Please Disable Your Browser Adblock Extension for our site and Refresh This Page!

our ads are user friendly, we do not serve popup ads. We serve responsible ads!

Refresh Page
Skip to main content
On . By CodimTh
Category:

Drupal 9 - change the temporary file directory path without the UI

 

Example with Drush

drush config:set system.file path.temporary /tmp -y

 

Example with settings.php

If done through settings.php it will no longer be changeable via either the interface or Drush.

 

Drupal 8.8+

See the change record.

$settings['file_temp_path'] = '/tmp';

 

Drupal 8.7 and below

$config['system.file']['path']['temporary'] = '/tmp';

Comments

Add new comment

Restricted HTML

Search

Page Facebook

Become a patron

If you need some help or you search a Drupal freelancer don't hesitate to contact us.

 

Contact Us

All the content is FREE but I still need your help

 

Become a patreon