Code: define('WP_TEMP_DIR', ABSPATH . '/wp-content/tmp'); How To Fix Error Installation failed: Download failed. fopen(/tmp/.tmp): Failed to open stream: No such file or directory