Skip to main content

500 Internal Server Error: UID of script smaller than min_uid

Comments

2 comments

  • Q309
    I upgraded from EasyApache 3 to to 4 several days ago. My phpbb forum that was working fine has gone offline, I get 500 Internal Server Error was encountered while trying to use an ErrorDocument to handle the request
    Form Apache error log: SoftException"UID of script "/home/example/public_html/exampleforum/app.php" is smaller than min_uid
    etc. I read somewhere that this error is caused by: "the script you are trying to run is owned by root user and you are not root user. In order to fix this issue all you need to do is fix the permissions for the files. Here is how you do it": chown -R user /home/user/folder
    public_html folder is owned by user123(I have an old wordpress site there that works normally, and its files are owned by user123) My problem is that there are so many folders and files inside the forum such that its not possible to do it 1 folder/file at a time. Is there a code I can use to have all the files/folders inside exampleforum etc. to have "user123" instead of "root" user? Thank you. NB: Running CENTOS 6.10 kvm v72.0.10
    0
  • cPanelLauren
    Hi @Q309 You could perform a recursive chown - there's also a few threads on this already such as the following: or the following
    0

Please sign in to leave a comment.