Introduction
You can use the following API calls via the command line to manage MultiPHP.
Procedure
Get the available PHP versions - Full Documentation
whmapi1 php_get_installed_versions
Set the default PHP version for the server - Full Documentation
whmapi1 php_set_system_default_version version=ea-php70
Set the PHP version for a domain - Full Documentation
whmapi1 php_set_vhost_versions vhost-0=example.tld version=ea-php74
Get the PHP version for all domains - Full Documentation
whmapi1 php_get_vhost_versions
Comments
0 comments
Article is closed for comments.