• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Changing PHP Settings on ALL Domains via CLI ?

yabado

Regular Pleskian
What is the command line method used to go through and set defaults for all domain PHP settings?

I tried this but it did not work.

/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
 
To be more specific, the CLI command would do the same thing as if I went to *each* domains PHP Settings page and clicked Apply.
 
Hello Yabado,
You can find more available domain name management options from CLI with:
Code:
/usr/local/psa/bin/domain --help
 
I ended up going to each of the Service Plans -> PHP Settings, then changing the default PHP version and saving.
Looks like this worked but not 100% sure yet.
 
Turns out that does not work. It does not actually "apply" the default PHP setting at all.
Still looking for a way to "apply" a specific PHP version on all domains if possible.
 
Back
Top