Skip to main content

Errors when changing PHP version in MultiPHP Manager

Comments

9 comments

  • cPanelMichael
    Hello, Could you verify the .htaccess file is owned by the account username and set to 0644 permissions? Also, please post the output from the following command:
    cat /usr/local/cpanel/version
    Thank you.
    0
  • DavidPD
    Hello, Could you verify the .htaccess file is owned by the account username and set to 0644 permissions? Also, please post the output from the following command:
    cat /usr/local/cpanel/version
    Thank you.

    The owner and the permissions is ok.
    root@hydra [/]# cat /usr/local/cpanel/version 11.64.0.36
    0
  • 24x7server
    Hi, As per the error displayed in the error log, system is not able to find .htaccess file in the user's directory ------------------ ------------------ System does not find a file named "/home/user/public_html/.htaccess" ------------------ ------------------ Could just try to move the .htaccess temporarily and then try to change the PHP version. # mv .htaccess .htaccess_BK
    0
  • SysSachin
    -------------e- /home/teayudoc/public_html/.htaccess

    The file permission is showing that 000 with chattr. You have to disable chattr and set 644 permission for .htaccess
    0
  • DavidPD
    Hi, As per the error displayed in the error log, system is not able to find .htaccess file in the user's directory ------------------ ------------------ System does not find a file named "/home/user/public_html/.htaccess" ------------------ ------------------ Could just try to move the .htaccess temporarily and then try to change the PHP version. # mv .htaccess .htaccess_BK

    Still with the same error.
    The file permission is showing that 000 with chattr. You have to disable chattr and set 644 permission for .htaccess

    No...: Access: (0644/-rw-r--r--) Uid: ( 575/user) Gid: ( 575/user) Chattr is disabled and the permission is 644.
    0
  • cPanelMichael
    Hello @DavidPD, Could you open a support ticket using the link in my signature so we can take a closer look? Thank you.
    0
  • DavidPD
    Hello @DavidPD, Could you open a support ticket using the link in my signature so we can take a closer look? Thank you.

    Thank you! Opened with number: 8746969
    0
  • 24x7server
    Hi, If you are using the CloudLinux, check the inodes limit set to this account (File Limit ) may have hit resulting in cPanel not able to edit the file further.. Check it..
    0
  • cPanelMichael
    Hello, To update, this issue stemmed from the permissions on the "/home/$username/public_html" directory itself. It was set to 0000 permissions, preventing the system from reading the .htaccess file. Updating the permissions to 0750 corrected the issue. Thank you.
    0

Please sign in to leave a comment.