• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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