Enable PHP-FPM preconfigured status

This function creates the /etc/cpanel/ea4/old_fpm_flag touch file.

Note:

If this touch file exists, the system will not display a message that indicates whether your system runs on an outdated PHP-FPM configuration. If you wish to see the message again, delete this touch file.

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_set_old_fpm_flag
Request samples
whmapi1 --output=jsonpretty \
  php_set_old_fpm_flag
Response samples
application/json
{
  • "data": {
    • "success": 0
    },
  • "metadata": {
    • "command": "php_set_old_fpm_flag",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}