This function sets a PHP version's handler.
Important:
When you disable the Web Server role, the system disables this function.
HTTP Request was successful.
object |
whmapi1 --output=jsonpretty \ php_set_handler \ version='ea-php70' \ handler='suphp'
{- "metadata": {
- "command": "php_set_handler",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}