Jump to content

Archived

This topic is now archived and is closed to further replies.

tekobi

rename()

Recommended Posts

Im moving some directories and its content on my site using a php script I wrote, however apache crashes even though all the files and db changes take place just like it was meant to happen. Also PHP spits ' file does not exists'. I wander what might be a problem. Im using a standard rename(olddir, newdir) function in my script.

 

could anyone give any ideas

Share this post


Link to post
Share on other sites

we need more details: code, users, groups, permissions, windows? unix?, what is moving where and why? what are the php and apache versions?

Share this post


Link to post
Share on other sites

 

Thank you for your reply.

I think I solved the problem, it only crashes on windows, when uploaded on the server with linux it seems to work fine.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.