Return PHP-FPM preconfigured status

This function determines whether your system runs with a preconfigured PHP-FPM configuration.

Important:

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

SecurityBasicAuth
Responses
200

HTTP Request was successful.

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