Default PHP version not updated in shell's chroots

Discussion in 'Developers' Forum' started by c.lembert, Aug 2, 2023.

  1. c.lembert

    c.lembert New Member

    Hello,
    When I update the version of the PHP used in a website, the link /etc/alternatives/php is not updated.
    It stays linked to the default version of the host.
    So to be able to use the wanted version, I need to update the link manually.
    Is there any option I missed so that this link updates automatically ?
    Regards
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The link is not changed automatically yet.
     
    ahrasis likes this.
  3. c.lembert

    c.lembert New Member

    So there is no way to sync the PHP version used in shell with the one used by apache ?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    There is always a way to have a function that does not exist yet, as ISPConfig uses an event-based plugin architecture, so you can write a plugin that attaches to the website update event and does whatever you like to do in this case. Or you file a feature request in our issue tracker at git.ispconfig.org to implement such a function.
     
    ahrasis likes this.

Share This Page