Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

The uploaded file could not be moved to wp-content/uploads

Discussion in 'General Discussion' started by savastgfx, Oct 20, 2016.

Tags:
  1. savastgfx

    savastgfx Registered

    Joined:
    Oct 20, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    romania
    cPanel Access Level:
    Root Administrator
    WordPress error after moving from shared host to CPanel/WHM Vps
    The uploaded file could not be moved to wp-content/uploads. If i set 777 in permissions it works.
    Do you you know what is the problem? It is wrong if i let permission to 777?

    Thanks.
     

    Attached Files:

  2. cPLevey

    cPLevey Technical Analyst Supervisor
    Staff Member

    Joined:
    Dec 3, 2015
    Messages:
    44
    Likes Received:
    8
    Trophy Points:
    83
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Hey @savastgfx

    This is likely due to your current PHP handler and it's requirements. I typically recommend trying the suPHP handler. With this handler, you will need to ensure all files/folders are owned by the user with folders having the permission of 755 and files with the permission of 644.

    Some helpful articles and documentation on this topic:
     
  3. savastgfx

    savastgfx Registered

    Joined:
    Oct 20, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    romania
    cPanel Access Level:
    Root Administrator
    Ok. Thanks for your help. For CMS i see it is better suPHP. Now my Whm PHP handlers settings are cgi. It is ok if i change the PHP handlers from MultiPHP manager or i need to follow other steps.

    Thanks
     

    Attached Files:

  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Yes, that's the correct option to use when modifying the PHP handler. The feature is documented at:

    MultiPHP Manager for cPanel - Documentation - cPanel Documentation

    Additional steps are not required.

    Thank you.
     
Loading...

Share This Page