• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Cant Use CHMOD or copy() on site

M

mrtwsm

Guest
Hi,

Im totally stuck. I have a website up that uses the php command copy() but it doesnt work. The CHMOD settings are 755. If I set them to 777 it works.

Im guessing it might be something to do with user:group settings, but i just cant figure it out.

I have tried using

chmod("folder/folder", 0777);

But it has no effect.

Any ideas? Essentially its acting like im not a 'group' user and not allowing me to write to the folder.

All this code worked fine when it was on a shared server.
 
Back
Top