latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

PHP-FPM

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.

get/php_get_old_fpm_flag

Response

HTTP Request was successful.

Example response

{
  "data": {
    "old_fpm_flag": 2
  },
  "metadata": {
    "command": "php_get_old_fpm_flag",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}