ZipArchive::close(): Failure to create temporary file: Permission denied
- Published on
- Published on
- /1 mins read/---
In Bitnami Lampp : ZipArchive::close()
If storage directory is already owned by the bitnami user and has group ownership set to daemon, which is likely the web server user group. However, we may need to ensure that the group has write permissions to the storage directory and its subdirectories.
Run the following commands to grant write permissions to the daemon group for the storage directory and its subdirectories:
In Ubuntu apache
Make sure you restart the apache/bitnami after this command.