N
N
Nikita Filatov2016-10-03 21:25:44
linux
Nikita Filatov, 2016-10-03 21:25:44

How to delete cache folder with php script?

I have a PHP script that should delete the Cache folder in the /etc/nginx folder on the server, but in order to delete it, this script needs to somehow be given permission to delete in this folder, how can I do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WebDev, 2016-10-03
@kirill-93

The rights must be given not to the script, but to the folder. The rights must be on the user under which the script will be launched.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question