Enable PHP-FPM on all domains

This function activates PHP-FPM for any non-PHP-FPM domains on a server.

Important:

When you disable the Web Server role, the system disables this function.

Warning:

We strongly recommend that you only activate Apache PHP-FPM if your server has at least 2 GB of RAM available, or at least 30 MB of RAM per domain. If you enable PHP-FPM on a server with less than the required RAM, your server may experience severe performance issues.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/convert_all_domains_to_fpm
Request samples
whmapi1 --output=jsonpretty \
  convert_all_domains_to_fpm
Response samples
application/json
{
  • "data": {
    • "build_id": 1493645268
    },
  • "metadata": {
    • "command": "convert_all_domains_to_fpm",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}