Virtualmin API

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)

Comments

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.

tpnsolutions's picture
Submitted by tpnsolutions on Thu, 06/22/2017 - 23:47

Status: Active ยป Closed (fixed)