I think it'd be nice to toggle "Website Options" via the API.
Ex.
virtualmin modify-website-options --domain mydomain.com --php-mode php-fpm
or
virtualmin modify-website-options --all-domains --php-mode php-fpm
-Peter
Status:
Closed (fixed)
I think it'd be nice to toggle "Website Options" via the API.
Ex.
virtualmin modify-website-options --domain mydomain.com --php-mode php-fpm
or
virtualmin modify-website-options --all-domains --php-mode php-fpm
-Peter
Comments
Submitted by andreychek on Thu, 06/22/2017 - 22:20 Comment #2
Howdy -- that actually is possible.
You can see the options by running:
virtualmin modify-web
Within that, take a look at the "--mode" option, which allows you to change the PHP Execution Mode.
Sweet!