Announcement

Collapse
No announcement yet.

Propagate new default PHP extensions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Propagate new default PHP extensions

    Propagate changes to /etc/cl.selector/defaults.cfg out to all users

  • #2
    If you change the extensions that are loaded in /etc/cl.selector/defaults.cfg how do you propagate those changes out to all of the users on the server?

    I enabled ZendGuard and Ioncube in the default PHP after I enabled php-selector globally. But none of the users are loading the ZendGuard and Ioncube extensions.

    Is there something I need to do to propagate the changes in /etc/cl.selector/defaults.cfg out to all users?

    Comment


    • #3
      This defaults.cfg file take place only for newly added users, it takes no actions for existing users.

      To enable/disable extensions for users globally you have to do it via selectorctl command, e.g.:

      Code:
      selectorctl --enable-user-extensions=EXTNAME --version=5.4 --user=username
      If we are talking about doing this for all users on a server you may use simpla hack from comment here: http://kb.cloudlinux.com/2014/09/php...eful-commands/

      Comment

      Working...
      X