Turning gears are the logo of co-scripts

PHPExcel, PHPSpreadSheet, Zip->Close(), fopen() etc. and popular "permission denied in" centences. It is very problematic to tune up Linux security configs. If you cannot write a file in PHP.
I am not a system guy, I am a developer.
Any way risky but try (before search) "chcon" . Give your target path with the commands below.

chcon -R -t httpd_sys_rw_content_t /path

Have a look at: https://www.digitalocean.com/community/questions/unable-to-create-a-file-in-php

co-scripts tag image permission denied inchconfopenzip->closephpspreadsheetphpexcel
ID:277 | Okunma:230