Migrating to XAMPP local install - Configure the temporary directory
This issue has nothing to do with Drupal config. Its related the your tmp folder permission. You got to update the tmp folder permission, so that apache user have proper write permission. 

chmod -R 0700 chmod -R 0700 /tmp