I have downloaded composer successfully and I am trying to use the phpospreadsheet library but I keep getting these errors although this is a basic code. it works on windows but not on linux. Code Sample: Errors: Answer the solution was to make a temporary directory. https://github.com/PHPOffice/PhpSpreadsheet/issues/1123