PHP rename() directory acces denied on windows (xampp) despite correct chmod & file path
0
I know there are thousands of questions with similar issue, however most of them got resolved by either using chmod or they just didn't provide the full path for the new name. I'm trying to change the cache purging behaviour of some website, because when a full purge is done, the website hangs for a good amount of time (it uses a glob & recursive function to delete each file, and there are tens of thousands of them, if not more). The main idea is to just rename the directories used for storing cache, this way it wouldn't even take a second. The old files could be deleted later partially or whatever. While in theory it was simple, I'm struggling for a few hours already, just because rename() is throwing me an access denied (code 5) error. I've already tried almost everything I could, se...