Skip to main content

Cannot change user PHP version in WHM

Comments

5 comments

  • quietFinn
    Seems you must change permissions of file /home2/ninisdaycare/public_html/.htaccess, I belive 644 would be right.
    0
  • vacancy
    Hi Yes, as quietFinn said, your .htaccess file has a write permission problem. When you want to change the php version, cpanel adds code to the .htaccess file, if there is a problem with the write permissions of your .htaccess file, the operation will not be performed. After making the chmod settings, also check your ownership settings. You can fix the ownerships if you run chown -R username:username /home2/username/public_html/.htaccess command.
    0
  • cPRex Jurassic Moderator
    Hey there! This looks like an issue with the permissions on either /home2/username, /home2/username/public_html, or the .htaccess file itself. Can you check the permissions and ownership of those areas and make sure they are correct?
    0
  • nyjimbo
    Okay thank you it looks like that was it. For some reason a few of the htaccess files are also screwed on other accounts. I'm not sure why but they had root.root as ownership
    0
  • cPRex Jurassic Moderator
    That's definitely odd, but I'm glad that's all that's all it was!
    0

Please sign in to leave a comment.