Skip to main content

After installing FCGI, unable to upload files with owner:owner and 777

Comments

5 comments

  • cPanelMichael
    Hello, Is the suEXEC RPM installed on this system? You can check with a command such as:
    rpm -qa | grep -i suexec
    If not, you can install it via the following command:
    yum install ea-apache24-mod_suexec
    If you install it, suEXEC executes PHP scripts as the user who owns the VirtualHost that serves the request. If you disable suEXEC, the system serves PHP requests as the nobody system user. Thank you.
    0
  • luigidelgado
    Great looks like ti worked. Just a caveat: As I am running the experimental Repo to install FCGI I had to do this:
    yum --disablerepo="*" --enablerepo="EA4" install ea-apache24-mod_suexec
    Question: If enabling Experimental Repo, will cPanel updates run the yum updates from this repo or will it continue updating from EA4 standar repo?
    0
  • cPanelMichael
    Question: If enabling Experimental Repo, will cPanel updates run the yum updates from this repo or will it continue updating from EA4 standar repo?

    Hello, Yes, the "yum update" command will include updates from the EA4 Experimental Repo if it's enabled. However, note that the experimental repo doesn't typically provide experimental RPMS for existing packages. Instead, it's generally utilized for new features. You can read more about the Experimental Repo for EA4 at:
    0
  • luigidelgado
    Yes, the "yum update" command will include updates from the EA4 Experimental Repo if it's enabled.

    Will this work to disable it from being used when updating with automatic cpupd?:
    yum-config-manager --disable "EA4-experimental"
    When installing the SuEXEC module, I yum updated several other modules and used the Experimental Repo so I had to rollback that and disabled it and then installed it again as mentioned in comment #3 above. But I want to be sure I am not using any other module from Experimental but FCGI.
    0
  • cPanelMichael
    Hello, That command should disable the EA4 Experimental Repo, yes. You should see the following line in the EA4-experimental.repo file within the /etc/yum.repos.d/ directory after running that command:
    enabled=0
    Thank you.
    0

Please sign in to leave a comment.