|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28276 function rename stopped working after the last Windows update
Submitted: 2004-05-04 19:28 UTC Modified: 2004-05-05 10:54 UTC
From: motion4u at hotmail dot com Assigned:
Status: Not a bug Package: Directory function related
PHP Version: 4.3.6 OS: Windows 2000 Advanced
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: motion4u at hotmail dot com
New email:
PHP Version: OS:


 [2004-05-04 19:28 UTC] motion4u at hotmail dot com
The function:
rename($oldname, $newname);
stopped working after the last windows update.
I'm using the rename Function to rename a directory

rename($oldname, $newname);

It doesn't work anymore... 
Before making a fool out of myself, I have double checked it.
If you think to answer that it might be that the directory is in use or a file within it is open ... the answer is no! I have restarted the server and the client and disconnected the internet plug for it.

Reproduce code:
just fill in the path to any subdirectory and call

$result=rename($old_dirname, $newdirname);

echo $result," old directory name: ",$old_dirname," new directory name: ",$newdirname;


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-05 04:19 UTC] motion4u at hotmail dot com
Sorry, it is not a bug! simply with this version the folders have to have more access permissions under windows as before.

I'm sure that it is mentioned somewhere in the documentations, which I have missed.

You may drop this report if you like.
 [2004-05-05 10:54 UTC]
Not a PHP bug then.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Feb 08 01:03:53 2023 UTC