0
votes

My webapp (PHP) creates some temp files in /tmp folder - while the creation works correctly, the deletion doesn't (I'm using an external library here, which creates these files, but unable to cleanup). Is there any specific setting for this purpose?

1

1 Answers

0
votes

The PHP command to delete a file is unlink:

http://www.php.net/manual/en/function.unlink.php

But you must have OS permission to delete a file.