Announcement

Collapse
No announcement yet.

How to disable PHP Selector via CLI

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

  • skhristich
    replied
    > Thanks Sergey, that worked!
    >
    > PS: you have to add --json to the end otherwise itll output an error

    Ignacio, Happy to hear it and thanks for following up!

    Leave a comment:


  • imorandin
    replied
    Thanks Sergey, that worked!

    PS: you have to add --json to the end otherwise itll output an error

    Leave a comment:


  • skhristich
    replied
    Hello Ignacio,
    Thank you for reaching out! This code can help you with this:

    Code:
    cloudlinux-selector set --interpreter php --selector-status=disabled
    or if you want to enable - this code:

    Code:
    cloudlinux-selector set --interpreter php --selector-status=enabled
    The information in the documentation will also be useful here https://docs.cloudlinux.com/cloudlin.../#php-selector
    If you have any other questions, feel free to ask here.
    Thank you for contacting us.

    Leave a comment:


  • forstnd007
    started a topic How to disable PHP Selector via CLI

    How to disable PHP Selector via CLI

    Hi,

    I want to disable PHP Selector (not uninstalling alt-php because it is being used by imunifyAV, only disable) via CLI so I can automate deploys using scripts.
    I attach an image so you know what Im refering to.

    Thanks!

    Ignacio
Working...
X