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';

Riadh Rahmi

Senior Web Developer (Drupal & Laravel)

I am a senior web developer, I have experience in planning and developing large scale dynamic web applications especially in Drupal, Laravel.

Web Posts

Search

Page Facebook