PHP selector not working on new accounts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tommy
    Junior Member
    Forum Explorer
    • Mar 2021
    • 16

    #1

    PHP selector not working on new accounts

    alt-php, php selector, etc
  • tommy
    Junior Member
    Forum Explorer
    • Mar 2021
    • 16

    #2
    When I create new accounts I can select php version (User not in cagefs).

    Seem like etc not getting copied to the accounts.

    Ideas?

    Comment

    • sahostking
      Member
      Forum ExplorerTechnical Associate
      • Mar 2021
      • 95

      #3
      I had a similar issue but noticed that when I add clients to cagefs it worked. When they were not in cagefs the php selector was "disabled"

      Not sure if it was a configuration issue my side or not. But left it to have everyone always in cagefs. No issues since then.
      Hostking | Since 2013 | Web Hosting | WordPress Web Hosting

      Comment

      • tommy
        Junior Member
        Forum Explorer
        • Mar 2021
        • 16

        #4
        My server is set to cage users by default, and it seemes like it does as well. The only thing I can see is wrong is that the etc does not get copied to the new accounts.

        Comment

        • twhiting9275
          Junior Member
          • Mar 2021
          • 9

          #5
          Have you run

          > cagefsctl --update

          since you added the selector RPMS?
          This should update everything in cagefsctl

          Comment

          • tommy
            Junior Member
            Forum Explorer
            • Mar 2021
            • 16

            #6
            Yes, I did. I think there was something wrong with some update or something, cause without any changes from me it started working.

            Comment

            • twhiting9275
              Junior Member
              • Mar 2021
              • 9

              #7
              I noticed something odd like this myself. Recompiled apache (easyapache), as it was a bit old anyways, and it worked. Odd that yours just didn want to work, or maybe it needed a --force-update instead of just an update.

              Good to hear you got it working though

              Comment

              • dcoronado
                Junior Member
                • Apr 2017
                • 2

                #8
                Hi,

                /usr/bin/cl-selector --summary php --user USER

                ERROR:User is not in cagefs

                Try to add the user to cagefs

                /usr/sbin/cagefsctl --enable USER

                That works for me

                Comment

                Working...