If you receive an error message like the one provided below while trying to install a module to your Drupal, there is a simple solution for it:
The specified file temporary://filename could not be copied, because the destination directory is not properly configured. This may be caused by a problem with file or directory permissions. More information is available in the system log.
The issue is caused by an incorrect setting of your temporary directory, which is being set during the installation process.
You can fix this issue by going to Configuration > Media > File System and change the Temporary directoryvalue from /tmp to tmp.
After this you will be able to perform the installation of your module.
You need help with an application? SiteGround is specialized in hosting and supporting more than 200 scripts. Sign up for our web hosting services and let us help you with your application, 24/7!